It is currently April 19th, 2024, 2:56 am

Is it possible that Lua get a filename in folder

Discuss the use of Lua in Script measures.
User avatar
Valentine
Posts: 70
Joined: June 30th, 2011, 11:01 am
Location: Daegu, South Korea

Is it possible that Lua get a filename in folder

Post by Valentine »

I want to make "SlidShow Skin" that is displayed 8 picture at each update time.

But it use high resource per update.

Therefore i think another method, lua get a filename and insert at table.

and then I write SKIN:Bang(!SetVariable Name..i ..table).

in Skin, Meter=Image have ImageName=#Name1#, ImageName=#Name2#, ....


BUT. I don't know how is get the filename. Is it possible?
User avatar
KreAch3R
Posts: 608
Joined: February 7th, 2011, 7:27 pm
Location: Thessaloniki, GR

Re: Is it possible that Lua get a filename in folder

Post by KreAch3R »

If I understand correctly what you 're trying to do, you want to display the images inside a folder without knowing their names. I have done it with Filelist Plugin, try it.
Inactive, due to life changes. Send me a PM for any question.

Desktop DeviartArt
Image
User avatar
Valentine
Posts: 70
Joined: June 30th, 2011, 11:01 am
Location: Daegu, South Korea

Re: Is it possible that Lua get a filename in folder

Post by Valentine »

Oh!! Yes, yes!! I want make it as same your skin.

Filelist plugin is not include Plugin Manual, so i didn't know about it

Thank you~ :D