Well, I need a way to dynamically retreive all the variants regardless of number and the generate a .inc file using this info (I know how to do the generate part, I just need to be able to actually retreive said "data"). The fileview plugin is able to do this but within a skin using a list of predifined measures. I've come up with an idea of how I could use this but I just want to be sure that there isnt another way I could do this without me having to create 10 different measures for the variants of a skin each time I need it.Just to clarify that part, I'm pretty sure plugins would work, if you're talking about FileView - context menus do support dynamic variables, so you should be able to use the value of those measures. That being said, it can be done from Lua as well, as jsmorley pointed out. I believe a RunCommand listing the .ini files in the current skin folder would work too, if using some Substitute to "break" the result into bangs setting up the context menu options.
If there was a way I could simply "Loop through a folder" with lua, it would heavily simplify what I'm trying to do. I've searched and havent found any way I can do this that doesnt require a lua extension of some sort. At the bare minimum I just want to be able to go through the children of a folder while retreiving all of said childrens' names with a Lua script
Statistics: Posted by Hazrd — Today, 2:10 pm