dazzyreil Posted April 17, 2004 Posted April 17, 2004 Hi, how do i make a script that shows he mouseposition when I leftclick somewhere ?? some1 pz help thx
jpm Posted April 17, 2004 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
dazzyreil Posted April 17, 2004 Author 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
dazzyreil Posted April 17, 2004 Author 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
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