02-02-2011 07:36 AM
Solved! Go to Solution.
02-02-2011 09:28 AM
the functions available to you in Lua fall into two categories:
1. functions added to the Lua engine by Logitech. these are documented in the Scripting API that can be accessed via the script editor Help menu.
2. functions that came with the Lua engine (i.e. built-in functions not written by Logitech). these are documented in the Lua Online Reference that can be accessed via the script editor Help menu.
all of the basic built-in functions described in the Lua Online Reference are available in Logitech's implementation, with the exception of the following packages: file.*, io.*, os.*, package.* and possibly debug.*. I know for sure that debug.traceback() will crash the software, but other debug functions may work.
there are no functions built into Lua that give you direct access to Windows DLL exports, and Logitech doesn't provide any wrapper functions for that either. any such code wouldn't work on the Mac version of the software anyway.
I do not work for Logitech. I'm just a user.