Welcome, Guest
Please Login or Register.    Lost Password?

How do I make it count?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: How do I make it count?
#9750
How do I make it count? 5 Years, 3 Months ago  
I don't know ANYTHING about scripting, but still, I really want one of my Skins to be able to count. I read that this can be done with RecycleManager.

I have an External Hard Disk Drive with a map called 'Anime' that is filled with over 140 anime series.
I would like the skin to be able to count the following:

- Count amount of total folders inside Anime folder.
- Count amount of total episodes present inside total folders in Anime folder.

Please help!
Meronpan
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#9841
Re:How do I make it count? 5 Years, 2 Months ago  
I don't know the answer, but you might want to try checking the lua manual: www.lua.org/manual/5.1/

This may be a roundabout way, but one possibility would be to execute a directory read instruction (dir if Windows, ls if Linux), redirect the output to a file, then count the entries in a file.
kati42
Fresh Boarder
Posts: 12
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop