lilx Posted August 13, 2007 Share Posted August 13, 2007 Hello, Is it possible to make a script where you ask the user of your script to Mouse click at a location in his screen then when he Mouse click the program gets the x, z location where he clicked? Cheers thx in advance, lilx Link to comment Share on other sites More sharing options...
Generator Posted August 13, 2007 Share Posted August 13, 2007 Quickly scripted for you... #include<misc.au3> While 1 $Pos=MouseGetPos() ToolTip("Mouse Pos:"&$Pos[0]&","&$Pos[1],Default,Default,"",1,1) If _IsPressed("01") Then Do ToolTip("You clicked on:"&$Pos[0]&","&$Pos[1],Default,Default,"",1,1) Until Not _IsPressed("01") EndIf WEnd Link to comment Share on other sites More sharing options...
lilx Posted August 14, 2007 Author Share Posted August 14, 2007 wow thx i really needed this 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