Jump to content
Sign in to follow this  

How to see mouse pos in full window

Recommended Posts

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

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...