Author |
Topic |
|
Kingron
39 Posts |
Posted - 03/03/2012 : 00:24:11
|
Currently, S+ can't support run the action several times for a Gesture. For example, StrokeIt support below actions: 1. Press Gesture key down(I.E. right button), we even needn't move the mouse 2. Scroll the middle button 3. Each scroll, StrokeIt will run the action once, we can scroll several times and run several actions 4. Release Gesture key, complete this Gesture session
This feature is very use full to do something for some situation, for example: increase/decrease volume, increase/decrease the transparent for a window, to switch Chrome tabs and so on. |
Edited by - Kingron on 03/03/2012 00:28:06 |
|
Rob
USA
2615 Posts |
Posted - 03/03/2012 : 00:38:11
|
As of now, the scroll functionality differs from StrokeIt. S+ offers the wheel delta to scripts, allowing for scripting against how much the wheel was scrolled. However, it may be more valuable to have wheel ticks fire actions, though it would require significant changes to S+ which will not happen immediately.
I will leave this request open and think it through to see if there are any downfalls. Anyone with input also speak up to let me know your thoughts!
|
|
|
Kingron
39 Posts |
Posted - 03/03/2012 : 01:16:47
|
Thanks.
Each action for each scroll might let the user life easily, because each action let the user know the response.
If we using wheel delta, we don't know "how" will be effect finally until the action down. |
|
|
Rob
USA
2615 Posts |
Posted - 03/03/2012 : 01:23:24
|
The issue is more about how this change breaks the core internal program flow. So it's something which will need a significant effort and testing along with other things which would be affected. |
|
|
Cerberus
Netherlands
86 Posts |
Posted - 03/03/2012 : 13:55:46
|
You could accomplish this with a small Autohotkey script working in conjunction with S+:
~Rbutton & WheelUp:: Send {down}
So every time you scroll the mouse wheel up while the right mouse button is held down physically, the down key is pressed on your keyboard; if it is not held down, scrolling works as normal. If you want to carry out multiple commands after the double colon, you need to do it like this:
~Rbutton & WheelUp::
Send password123
Sleep 500
Send {down}
Return ; This is needed to mark the end of a multiple-line hotkey. |
Edited by - Cerberus on 03/03/2012 13:56:58 |
|
|
Kingron
39 Posts |
Posted - 03/04/2012 : 00:08:14
|
I download the v1.7.6, it works for this now: 1. Hold the stroke key, don't move the mouse 2. Press the modifier key, for example: Middle key 3. the action will be run
This feature is very useful: We needn't move the mouse, then we can do something, for example: Switch Chrome tab, Switch App, Switch Next Track, Prev Track and so on.
In my mind, the previous version can't support this.
Regard, Great works! |
|
|
Rob
USA
2615 Posts |
Posted - 03/04/2012 : 23:52:24
|
Added experimental feature Fire Recognition on Mouse Wheel Scroll* in 1.7.7:
http://www.strokesplus.com/forum/topic.asp?TOPIC_ID=277
It may be a little confusing at first to some, but I can explain in better detail for those who don't understand exactly how it works. |
|
|
Kingron
39 Posts |
Posted - 03/05/2012 : 10:17:43
|
That's wonderful!
I set below gesture, it works fantastic!
1. Increase/Decrease Window Transparency: Set Ctrl and as modifier, no gesture set.
Just hold stroke key(I set as right button), Hold Ctrl key, then scroll up, the window transparency will adjust immediately, and I can stop scroll when it's OK because I can see the effect in time!
Scripts for Decrease Transparency local iAlpha = 0 iAlpha = acGetWindowTransparency(nil,gsx, gsy) iAlpha = ((iAlpha)+(gwd / 120) * 5) if iAlpha > 255 then iAlpha = 255 end acSetWindowTransparency(nil,gsx, gsy, iAlpha)
Scripts for Increase Transparency local iAlpha = 0 iAlpha = acGetWindowTransparency(nil,gsx, gsy) iAlpha = ((iAlpha)+(gwd / 120) * 5) if iAlpha < 5 then iAlpha = 5 end acSetWindowTransparency(nil,gsx, gsy, iAlpha)
2. Switch Chrome Tabs Set scroll up/down as modifier, no gesture set Just hold the stroke key, scroll up/down, then the Chrome tab switched, I can stop until I got it.
Also we can use this feature to set volume until it's OK.
Much better than before now. |
Edited by - Kingron on 03/05/2012 10:23:38 |
|
|
|
Topic |
|
|
|