
v2.8 [Jan 25, 2014]
- Changed the middle/X1/X2 mouse click scripts' logic to fire on mouse UP instead of mouse down, since that's generally when things do something in windows
- Aforementioned function names changed from "down" to "up", for example sp_middle_mouse_down is now sp_middle_mouse_up
- Added similar code and options for firing on left and right mouse button up events
- Note that for all of these mouse click events, they will NOT fire on mouse up of the stroke button; sp_right_mouse_up will not be called if the right mouse button is your stroke button
- Also note that mouse click event scripts will not fire if the stroke button is currently being held down and S is either in an action or actively capturing the mouse (e.g. while drawing)
- Added acSetNumber and acGetNumber; the only purpose for this action pair is for communicating between Lua states
- Fixed bug where a few code blocks were waiting if either Lua state was executing, instead of only waiting when both Lua states were in use
- Updated language file to include support for new preferences:
language.Preferences.AdvancedOptionsFrame.AllowLeftClickScript - "Allow Left Click Script*"
language.Preferences.AdvancedOptionsFrame.AllowRightClickScript - "Allow Right Click Script*"
v2.7 [Mar 31, 2013]
- Updated mouse hook to have more checks for Training Mode, to prevent unexpected errors/crash
- Added acDisableCapture() and acEnableCapture(), these are different than acDisable or acDisableNext as they control a global flag which tells S to forward/ignore the mouse events until acEnableCapture is called, or the Lua states are reinitialized. There aren't many use cases for this pair of actions, but there's at least one person who could use them