Guest Fips Posted April 19, 2005 Share Posted April 19, 2005 Hi. Im thing im blind Cant find any Function about this.... How can i report a right or left mouse click ? FipstheTuck@msn.com Fips Link to comment Share on other sites More sharing options...
buzz44 Posted April 19, 2005 Share Posted April 19, 2005 #include <GUIConstants.au3> GUICreate("test", 400, 400) GUISetState() Do $a = GUIGetCursorInfo() $msg = GUIGetMsg() If $a[2] = 1 Then msgbox(0,"","Left") EndIf If $a[3] = 1 Then msgbox(0,"","right") EndIf Until $msg = $GUI_EVENT_CLOSE One way... qq Link to comment Share on other sites More sharing options...
jpm Posted April 19, 2005 Share Posted April 19, 2005 Hi.Im thing im blind Cant find any Function about this....How can i report a right or left mouse click ? FipstheTuck@msn.comFips<{POST_SNAPBACK}>I is new since 3.1.0 that's event can be handled for window created by AutoIt (GUI functions), but there is no such mechanism for others.You can still know the mouse position with MouseGetPos but that's all Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now