Arkie Posted November 10, 2007 Posted November 10, 2007 I'm working on a script an I need to read and store mouse coordinates exactly when the next left click is performed. The only function so far i got is the MouseGetPos() function but it just give me coords at a specific TIME. I need to do that at the specific Event: Left Mouse click. I didn't figure out yet how to do this. Anyone can help me ? I hope the question it's clear. I'm waiting for any replies that can help. Thank you much. Arkie
Nahuel Posted November 10, 2007 Posted November 10, 2007 #include <Misc.au3> While 1 Sleep(50) If _IsPressed(01) Then $Pos=MouseGetPos() MsgBox(0,"","X: " & $Pos[0] & " Y: " & $Pos[1]) EndIf WEnd
Arkie Posted November 10, 2007 Author Posted November 10, 2007 #include <Misc.au3> While 1 Sleep(50) If _IsPressed(01) Then $Pos=MouseGetPos() MsgBox(0,"","X: " & $Pos[0] & " Y: " & $Pos[1]) EndIf WEnd Ah.. misc.au3. have to check it deeply next time. Thank you for your answer. Arkie
Blue_Drache Posted November 10, 2007 Posted November 10, 2007 Looks like you misc'ed that solution... Maybe it was "Gorillas in the Misc" Ok, I'm stopping the bad puns now. Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache
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