The scrollbar and the buttons work exactly like in C++, and this doesn't slow the programs. The only problem is that New and Settings use the Console window as Orwell didn't make the "ui" package yet, and I made no file name verification, so this can raise errors. Anyway, I'm rather satisfied of my work.
Download My Lua Programs 0.30 Beta
EDIT:
Normally, in "Settings", if you leave a field empty, it uses the old value. But Orwell modified the input() function in CPLua 0.8 RC4, so that you must enter something (I modified the program. Now you have to enter 0 to use old or default values). Can you add a parameter which allows to enter nothing? |
Oops, I forgot to put the "readme" file in the .rar. I'll add it later
How to use MyLuaPrograms? -Run MyLuaPrg\MyLuaPrg with CPLua (version 0.8RC3 or higher) -Create a new shortcut by clicking on the "New" button: -Enter the name of the shortcut, its target folder, its target file and its icon file -If you enter 0 for the icon, a default icon will be used -An icon is a 45*28 PICT file. You can use the "main\icon" picture to make your own icon -The icon is saved in the "MyLuaPrg\shortcut" file, so you can delete your icon file after creating the shortcut -Modify a shortcut by clicking on the "Settings" button -Select the shortcut you want to modify (notice that you can't use the scrollbar, but this will be implemented in future releases;) ): -Enter the information for the shortcut, like in "New" -If you enter 0 in a field, the old value will be used -Delete a shortcut by clicking on the "Delete" button. Select the shortcut you want to delete -Move a shortcut by clicking on the "Move" button. Select the shortcut you want to move, and the location you want to move it -Quit by clicking on "My Lua Programs" /!\ If you quit using "Break", the shortcuts newly created will be lost /!\ Don't delete "font", "cpfont" and "mlpRsrc". These are resource files used by My Lua Programs /!\ There is no name verification. So if a file name is invalid, the program will raise an error and the data will be lost. In some cases, the program can detect a bad target file. So the shortcut will be created but you can't run it. -All shortcut data is stored in the "MyLuaPrg\shortcut" file. Changes in future versions: + Maybe a clock instead of the "My Lua Program" title + Create or modify a shortcut in a dialog box, like MyPrograms + Organize shortcuts in different categories (Games, Tools, Math, ...) I'm waiting for the "ui" package (maybe in CPLua 0.9) to perform all these changes. Have fun! :)