Jump to content
Sign in to follow this  
Michael Stettner

Show Mouse Pos in a ToolTip

Recommended Posts

Michael Stettner

;hi out there, i am a AutoIt newbie, and i just want to state it is really cool for scripting purposes

;here is a very small script i wrote to fetch the mouse postion in order to use it for test automation purpose

;(simulate mouse button clicks)

; Script Function:

; Shows the actual mouse postion in a tooltip in the left upper corner of the screen

; remark: auto it is cool!

While 1 < 2

$pos = MouseGetPos()

$str1 = "Mouse x,y: " & $pos[0] & "," & $pos[1]

ToolTip($str1 , 0, 0 )


Share this post

Link to post
Share on other sites

there is no need for While 1<2

While 1 works just fine, but nice simple program i could use this to write other programs, thanks

[center]AutoIT + Finger Print Reader/Scanner = COOL STUFF -> Check Out Topic![/center][center][font=Arial Black]Check out ConsultingJoe.com[/font][/center][center]My Scripts~~~~~~~~~~~~~~Web Protocol Managing - Simple WiFi Scanner - AutoTunes - Remote PC Control V2 - Audio SpectrascopePie Chart UDF - At&t's TTS - Custom Progress Bar - Windows Media Player Embed[/center]

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