AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to do a triple-click?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Niubbo



Joined: 27 May 2006
Posts: 2

PostPosted: Sat May 27, 2006 8:40 pm    Post subject: How to do a triple-click? Reply with quote

Hi everyone! Very Happy

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! Laughing


Last edited by Niubbo on Sun May 28, 2006 9:25 am; edited 1 time in total
Back to top
View user's profile Send private message
Helper
Guest





PostPosted: Sat May 27, 2006 9:15 pm    Post subject: Reply with quote

Hello Niubbo

Code:
^!t::
Click 3
return


I think that you need to SEND the {click}. ie

Untested Smile
Code:
^!t::
Send, {Click 3}
Return
Back to top
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Sat May 27, 2006 11:00 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Niubbo



Joined: 27 May 2006
Posts: 2

PostPosted: Sun May 28, 2006 9:28 am    Post subject: Reply with quote

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! Laughing
Back to top
View user's profile Send private message
Guest






PostPosted: Fri Nov 16, 2007 2:09 pm    Post subject: Reply with quote

How to catch a triple click?
Back to top
superbem



Joined: 30 Jul 2007
Posts: 20

PostPosted: Fri Nov 16, 2007 2:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group