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 

Click

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
idunno
Guest





PostPosted: Sun Dec 20, 2009 11:45 pm    Post subject: Click Reply with quote

I would like to something similar to the GetKeyState feature, but I would like it to work for the mouse instead. Namely I want to use a Left Click of my mouse instead of a key. Any help on how to do this?
Back to top
txquestor



Joined: 22 Aug 2009
Posts: 294

PostPosted: Mon Dec 21, 2009 12:19 am    Post subject: Reply with quote

Is this what you mean?
If not explain in more detail

Code:

~LButton::
while GetKeyState("LButton", "P")  ; While the LButton key is being held down physically. Click repeatedly until released or press & release for 1 click
{
    Click
}
return

ESC::ExitApp

_________________

"Man's quest for knowledge is an expanding series whose limit is infinity"
Back to top
View user's profile Send private message
Display posts from previous:   
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