You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser.
Send mouse click?
-
Thread starter
Johan Johansson
-
Start date
I'm looking for a command like "Sendkey" but "send mouse click" (left
button)
I would appreciate if someone posted a code example, just a simple
click of the left mouse button and my day would be saved
/Johan
Hi,
Don't know any other way then by API
First declare this:
Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As
Integer
Then adapt and insert this somewhere
If GetAsyncKeyState(1) <> 0 Then MsgBox "leftbutton"
If GetAsyncKeyState(2) <> 0 Then MsgBox "rightbutton"
Regards,
ManualMan
http://www.gamesXL.tk