Arkie Posted November 10, 2007 Share 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 Link to comment Share on other sites More sharing options...
Nahuel Posted November 10, 2007 Share 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 Link to comment Share on other sites More sharing options...
Arkie Posted November 10, 2007 Author Share 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 Link to comment Share on other sites More sharing options...
Blue_Drache Posted November 10, 2007 Share 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 Link to comment Share on other sites More sharing options...
Richard Robertson Posted November 10, 2007 Share Posted November 10, 2007 I made a thread just for those. 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