AutoHotkey Community

It is currently May 27th, 2012, 12:42 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Click
PostPosted: December 21st, 2009, 12:45 am 
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?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 21st, 2009, 1:19 am 
Offline

Joined: August 22nd, 2009, 11:23 pm
Posts: 294
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

_________________
Image
"Man's quest for knowledge is an expanding series whose limit is infinity"


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Leef_me, Ohnitiel, XstatyK, Yahoo [Bot] and 14 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group