Sometimes I added one or two small features that are nice but don't have their own how to. I'll try to keep this how-to updated with some small new commands.
The
lmc.minimizeToTray flag says whether LuaMacros are shown at task bar when minimized. If it is set to true there's just icon in system tray but application is removed from task bar. When false (which is default) is behaves like any other application.
Minimizes the LuaMacros application. It's mainly used when script is executed automatically after LuaMacros start with -r switch. Having this command in the script makes the application start almost "silent".
New from version 0.1.0.224. This command will load
and execute different script from file system (this is the parameter). Warning: no dirty check of current script is done! So probably you want to have current script saved before executing this one.
From 0.1.0.233. The function returns title of active window. Useful if you want different behaviour of macros depending of active application.