Did you know...
You can execute a file containing Lua code from an action via the built-in dofile() Lua function.
For example, you could have a large, complicated Lua script stored in MyCrazyBig.lua that you prefer to work with in robust text editor, but call from S+. All you'd need to add to your action script in S+ is:
dofile("MyCrazyBig.lua") Of course, the above would assume the file is in the current application path (generally along side of StrokesPlus.exe); you could specify the full path if needed (remembering to escape \'s...though may not be necessary).
Every time you executed the gesture, the code in MyCrazyBig.lua would be sent to the Lua processor and run.
|