StrokesPlus is a tiny tool which enables you to use mouse gestures in all your applications.
If you've come across mouse gestures elsewhere then you'll already know that they can be a very natural way to control what's happening on your PC. In Opera, for instance, you can go backwards or forwards through your browsing history, open or close tabs, reload a page, open a link and more, just by moving the mouse in a particular way. So holding the right mouse button down and moving to the left steps back to the previous page in your history, for instance, while moving the mouse to the right steps forward.
StrokesPlus takes this basic idea, then extends it so you can use mouse gestures anywhere. Hold down the right mouse button, draw a "C" and you'll close the current application, for instance. Drawing a diagonal line top-right to bottom-left will minimise the program. And there are similar gestures to increase or decrease volume, copy to or paste from the clipboard, run particular programs, change window transparency, choose various media player buttons (Play, Pause, Next Track, Previous Track etc), and the list goes on.
Don't like how something works? All the built-in gestures can be changed to better suit your needs. And you can add new ones to automate all kinds of PC tasks. This does involve using Lua scripts, so there's a degree of complexity involved, but it's not too difficult and there are plenty of examples to help you get started.
And best of all, while StrokesPlus must always be running in the background to work its magic, the program is extremely lightweight, so there's no need to worry about it gobbling up your system resources.
- *BREAKING CHANGE*: 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
- *BREAKING CHANGE*: 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*"