Home Download Screenshots Wiki Plugins Translations Developers Donate Forums/Help Contact Us |
StrokeIt
To draw gesture holding both Left and Right button...Posted by Stephane
...at a time ?
Hello, I use to work with autocad and sketchup using sensiva (on windows XP) It's Amazing ! I plan to install Stoke It when I'll update XP to Win.8... So I use to make gesture holding both Left and Right button at a time because I use pen tablet instead of mouse. Can I do this with Stoke It too ? If I only use Left or Right button, little movement when I draw quickly or click quickly make mistakes... I can't work slowly :o) Best regards. Stephane.
Thank you Leo,
In fact, I installed AutoHotkeh yesterday to remap a key to MButton... I was not very reactiv and not so handy. In add I already offten use left hand to handle a 3D controler (3DConnexion) But... your idea to remap RButton+LButton to MButton seems to be a really good idea :-) Do you know how write this script in AutoHotkey ? I tried some minutes ago with : RButton & LButton::MButton but it doesn't work. It make : Error at line 6. Line Text : MButton Error : This line does not contain a recognized action. The program will exit. Thanks and best regards. Stéphane
Thanks a lot for your reply, Leo.
I'm impressed. I spent long hours to understand and try AutoHotkey I spent long time to search and read differents forums but it's quite difficult because it's a technical software (and English is not my mother language) Nothing I tried really works... I lost hope. And you find quickly a solution which work. Thank you :-) Is it really nessesary to play with "sleep" ? With long gesture 300 ms are sometime too short but with simple gesture 300 ms are too long (Any way it make latency when you work quickly) It is strange...why (RButton & LButton::MButton) doesn't work ? However (²::MButton) work find even if this way is not so handy. With this way I can drag holding the simulated MButton without define any time laps or "sleep". My best regards Stephane
Hello my savior :-D
I can't believe it. It works It works without any latency and without kind of problems :-D I only swap LButton and RButton in the first line due to the pen tablet use : ~RButton & LButton:: (...) It perfectly works on AutoCAD (Most important Software for me becaus I often use it with a huge sort of gestures) But... it make problems with Sketchup (less important because I ony use zoom and pan gesture with it and I can replace zoom gestures and pan gesture with 3D controler (3DConnexion) In fact, with Sketchup, when I press LeftButton holding down RightButton Sketchup understand only RightButton and show me contextual menus... I don't want you think (in brainstorm meaning) about this problem because you already give me a very good work and help. Thanks a lot !! But if you already have the solution...I take it, of course ;-) So I thank you, and all the clever guys, and the W.W.Web. It was for me a very big problem becaus sensiva doesn't work with Win.7 or Win.8. and I can't use XP all my live. Best regards Stephane
@ Leo.
1/ The problem with Sketchup is entirely due to the Sketchup behavior. A RButton down (without RButton Up) show anyway a context menu when the mouse is above a sketchup drawing or after a pan or after a zoom. That's the way it is. With or without StrokeIt or Autohotkey (even if it works with Sensiva) It's not because of the script. 2/ I tried to simplify your last script (which is fine ! ;-)) and it seems it be OK too : ~RButton & LButton:: send {MButton down} KeyWait RButton Keywait LButton send {MButton up} return 3/ I "succeed" (a little bit) to draw gestures using strokeIt and autohotkey with Sketchup. But the script without tilde (below) doesn't allow to use Right Click... :o)...:-S RButton & LButton:: send {MButton down} KeyWait RButton KeyWait LButton send {MButton up} return So I re-Thank you again for your precious help :-) Stephane.
Sorry I'm doing a monologue.
_Here the last simplified release (AutoHotkey) For a standard use (Windows, Autocad...) without Sketchup : ~RButton & LButton:: send {MButton down} KeyWait LButton send {MButton up} return _Here, a relase which seems working with Sketchup too (he he he) : RButton & LButton:: send {MButton down} Keywait LButton send {MButton up} return RButton Up:: send {RButton} return So many thanks to Leo, Jeff Doozan and Chris Mallet Stephane
|