| View previous topic :: View next topic |
| Author |
Message |
idunno Guest
|
Posted: Sun Dec 20, 2009 11:45 pm Post subject: Click |
|
|
| 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
|
Posted: Mon Dec 21, 2009 12:19 am Post subject: |
|
|
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 |
|
 |
|