Home Download Screenshots Wiki Plugins Translations Developers Donate Forums/Help Contact Us |
StrokeIt
Please add possibility of making gestures with any mouse button, not only Right or Left button (+)Posted by Gorky
Please add possibility of making gestures with any mouse button, not only Right or Left button.
If I draw with Left button, one action will run. If I draw the same gesture with Right button, another action taken. Also if I draw gesture with some key pressed (Ctrl, Alt, Shift), so action taken. Thanx
Well, I'd use tilting the wheel for volume increasing. Now I'm using whell up/down for this, it's so convenient! You can increase/decrease volume in any app by just rotating the wheel when the RMB is pressed.
However, I miss the task switching for which I've previously used the wheel. Is there no other way to do it?
I am on XP Pro and I must say StrokeIt + AHK is the best combination I have ever used. I can highly recommend it. AHK is tiny, and easy to program. For example, I am using AHK to have StrokeIt carry out different actions depending on where on the screen the gesture is made. I only need a simple code like this for it:
^!+r:: MouseGetPos, xpos, ypos If (ypos < 70) SendInput ^+{Tab} else { SendInput {Browser_Back} } ReturnI set StrokeIt to do control+alt+shift+R on the Left gesture. This code makes it so that the gesture results in doing control+shift+Tab if the cursor is less than 70 pixels down the screen, but makes the browser go back if the cursor is lower than that. Edited 4 time(s). Last edit at 01/08/2011 11:38AM by Cerberus.
Cerberus Wrote:
------------------------------------------------------- > I am on XP Pro and I must say StrokeIt + AHK is > the best combination I have ever used. I can > highly recommend it. AHK is tiny, and easy to > program. For example, I am using AHK to have > StrokeIt carry out different actions depending on > where on the screen the gesture is made. I only > need a simple code like this for it: > ^!+r:: > MouseGetPos, xpos, ypos > If (ypos < 70) > SendInput ^+{Tab} > else > { > SendInput {Browser_Back} > } > Return > I set StrokeIt to do control+alt+shift+R on the > Left gesture. This code makes it so that the > gesture results in doing control+shift+Tab if the > cursor is less than 70 pixels down the screen, but > makes the browser go back if the cursor is lower > than that. Strange. I've created an .ahk file with the above commands and set stroke it to press ctrl+ shift+ alt+ r when performing a gesture, but nothing happens. Am I doing something wrong?
@Rivendell: Hmm, that is strange. I have just disabled my normal AHK scripts and made a new file with only this code: it works for me (in Firefox). You might check these points:
1. If you have used the exact same code, there is the chance that control+shift+tab does nothing for your specific browser, or that the Browser_Back command doesn't work (for me, that only works when I have the program disabled that came with my wireless keyboard). You could test this by having AHK send other hotkeys after SendInput, like #e (Windows+e, opens Explorer) and #d (Windows+d, goes to desktop and back), which I think will always have a noticeable result for testing purposes. 2. Are you sure the action is active for the right application, and that it recognizes the right gesture? You could test this by adding an On-Screen Display with some text to your action: if you don't see it, the problem is in StrokeIt; if you do see it, the problem is in AHK. 3. Do you see the green AHK icon active in the system tray? It should be there, unless it is hidden, in which case you should see it somewhere in your taskbar / system tray settings.
@Gemisigo: Thank you for liking it! It could be useful in some contexts. You could also have AHK carry out a different command based on the Control that the cursor is at, such as a form field or a menu bar or a text editing field of an application. I think you'd use the Getcontrol command for that (the AHK help file will explain how to use that). You can find out the name of the control by using the AHK Spy program.
Edited 1 time(s). Last edit at 01/12/2011 04:49PM by Cerberus.
|