dazzyreil Posted April 17, 2004 Share Posted April 17, 2004 Hi, how do i make a script that shows he mouseposition when I leftclick somewhere ?? some1 pz help thx Link to comment Share on other sites More sharing options...
jpm Posted April 17, 2004 Share Posted April 17, 2004 Hi,how do i make a script that shows he mouseposition when I leftclick somewhere ??some1 pz help thx no function can be synchronize on a Leftclick. The only possibility is to use an hotkey after moving the mouse where you want to leftclick.You can leftclick with mouseclick, you can get the mouse postion with MouseGetPosI hope that help Link to comment Share on other sites More sharing options...
dazzyreil Posted April 17, 2004 Author Share Posted April 17, 2004 yeah thx ill get it to work i thought there were no functions that could be synchronized on a Leftclick. but you never know ill make it work with a hotkey Link to comment Share on other sites More sharing options...
dazzyreil Posted April 17, 2004 Author Share Posted April 17, 2004 (edited) hotkeyset("^a", "pos") hotkeyset("{ESC}", "end") $1 = 0 SplashTextOn ( "Help", "Press ctrl+A to get the position and esc to stop", 100, 100) sleep(2000) splashoff() while $1 = 0 Wend func pos() $pos = MouseGetPos() MsgBox(0, "Mouse x,y:", $pos[0]& "," & $pos[1]) endfunc func end() exit endfuncdone works fine ^^ :edit changed script a little Edited April 18, 2004 by dazzyreil 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