| View previous topic :: View next topic |
| Author |
Message |
Niubbo
Joined: 27 May 2006 Posts: 2
|
Posted: Sat May 27, 2006 8:40 pm Post subject: How to do a triple-click? |
|
|
Hi everyone!
I'd like to know how to assign to CTRL+ALT+t (for example) a treble left mouse button click, as this script doesn't work:
^!t::
Click 3
return
Thanks guys! 
Last edited by Niubbo on Sun May 28, 2006 9:25 am; edited 1 time in total |
|
| Back to top |
|
 |
Helper Guest
|
Posted: Sat May 27, 2006 9:15 pm Post subject: |
|
|
Hello Niubbo
| Code: | ^!t::
Click 3
return |
I think that you need to SEND the {click}. ie
Untested
| Code: | ^!t::
Send, {Click 3}
Return |
|
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Sat May 27, 2006 11:00 pm Post subject: |
|
|
1) Welcome!
2) You should use the Edit button on your message to put a more meaningful title (your fits around 75-90% of messages in this section...), so it can be usefully used in searches. Something like "How to do a triple-click?".
3) Your syntax is OK, Click is now a command. You can try the Send to see if it makes a difference.
4) I just tested Click 3 in SciTE (where it selects the whole line) and it works (on Win98SE). What doesn't work for you? Did you tried in various applications or only in a given game/application? Did you tried the various SendMode options? _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
Niubbo
Joined: 27 May 2006 Posts: 2
|
Posted: Sun May 28, 2006 9:28 am Post subject: |
|
|
Thanks everybody!
It didn't work very well because i needed to speed up the click time between each click, and i substituted Click with MouseClic, where i'm able to set the Speed.
Now it works great!  |
|
| Back to top |
|
 |
Guest
|
Posted: Fri Nov 16, 2007 2:09 pm Post subject: |
|
|
| How to catch a triple click? |
|
| Back to top |
|
 |
superbem
Joined: 30 Jul 2007 Posts: 20
|
Posted: Fri Nov 16, 2007 2:30 pm Post subject: |
|
|
| Code: | F12::
KeyWait, F12
KeyWait, F12, D, T0.30
KeyWait, F12
KeyWait, F12, D, T0.30
If ErrorLevel = 1
return
Else
msgbox Pressed triple F12 |
Found somewhere in the forum, I just add 2 lines of code. |
|
| Back to top |
|
 |
|