This App is No Longer Maintained. Visit the Replacement at

StrokesPlus Forum
StrokesPlus Forum
Home | Profile | Register | Active Topics
Members | Search | FAQ
Save Password
Forgot your Password?

 All Forums
 Did you know...
 DYK: Running Lua Files
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  


2606 Posts

Posted - 06/12/2012 :  15:54:54  Show Profile  Visit Rob's Homepage  Reply with Quote
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:
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.


74 Posts

Posted - 01/04/2013 :  04:32:22  Show Profile  Reply with Quote
This helps a lot!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
StrokesPlus Forum © 2011-2018 Rob Yapchanyk Go To Top Of Page
Snitz Forums 2000