Sign in to follow this  
Followers 0
dirindon

How to see mouse pos in full window

1 post in this topic

Hell guys i have rly simple problem but i am newbie in autoit. I want to somehow speed up getting mouse positions when mouse is in full window, when i use msgbox the application thats fullscreen minimezes itself but when i use tooltip i can't rly see it. Any idea if its possible to press hotkey and mousepos would appear in some kind of box, without the need for the application to minimize ?

HotKeySet("{ESC}", "Terminate")


;;;; Body of program would go here ;;;;
While 1
Sleep(100)
WEnd
;;;;;;;;

Func Terminate()
sleep ( 200 )
$x = MouseGetPos(0)
$y = MouseGetPos(1)
;;MsgBox ( 0, "MSG", "MousePos: "& $x &", " & $y)
tooltip ( "MousePos: "& $x &", " & $y )
EndFunc ;==>Terminate

Share this post


Link to post
Share on other sites



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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0