4/13/2021 0 Comments Finding Nemo Avi File
BTW feeding it with empty Moviefolder and Moviemenu variables result in a bug.Its based on the photo widget but instead of showing one picture at a time it would show a 5x4 grid of pictures.
When you click the picture inside the box it would open the movie directly (the same as if you double click the file from windows explorer). The problem is that I dont know lua script and Im just guessing. First, how do I find out if a table entry exists in a second table Table A is created from a folder that consists only of movies but with different extensions. Example Table A: Finding Nemo.avi Ice Age.flv Shrek.mp4 The Little Mermaid.mpg The Wizard of Oz.mkv Table B is created from a folder that consists only of pictures but with different extensions. Example Table B: Finding Nemo.bmp Shrek.jpg The Little Mermaid.gif The Wizard of Oz.png Picture Not Found.jpg If my result from table A is Shrek. I have been googling Lua manuals for days now but I cannot seem to understand how to apply what I read to my needs. Table A is created from a folder that consists only of movies but with different extensions. Table B is created from a folder that consists only of pictures but with different extensions. Instead of having 2 tables, you can have only 1, but with an internal structure. For UNIX-like format, using lower (lowercase) will help to avoid the case-sensitive. ![]() Nilfred on your first post you simplified for me alot of what I was reading on google and trying to understand. Finding Nemo Avi File Code Actually GaveThe lack of code actually gave me ideas while at the same time giving me structure. I explored several different ways of attempting to achieve my goals and learned quite a bit. JorgeLuis although your code would run perfectly for the example movies, I would not want to rewrite the lua script each time I added a new movie to my folder, but thank you anyway. The code you supplied showed me the proper syntax and taught me to pay attention to which brackets to use. Update: I did manage to achieve what I wanted, although its rather sloppy. Then is: m 1 p 1 repeat repeat if gShadow4MovieNamem gShadow4MoviePicNamep then table.insert(gShadow4MovieLink, gSavageMoviePicp) m m 1 p 1 break else p p 1 end until p gShadow4MoviePic if p gShadow4MoviePic then table.insert(gShadow4MovieLink, None) p 1 m m 1 end until m gShadow4MovieName This gives me the link to the picture preview. It only took me 5 tables, 4 days and 6 aspirin to achieve it. Then is: m 1 p 1 repeat repeat if gShadow4MovieNamem gShadow4MoviePicNamep then table.insert(gShadow4MovieLink, gSavageMoviePicp) m m 1 p 1 break else p p 1 end until p gShadow4MoviePic if p gShadow4MoviePic then table.insert(gShadow4MovieLink, None) p 1 m m 1 end until m gShadow4MovieName -- This gives me the link to the picture preview. How function dirtree() is defined Or where it is defined I put mine with unexpected result.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |