AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mosuse postion

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Wingfat



Joined: 23 Aug 2004
Posts: 193
Location: East Bay, California USA

PostPosted: Mon Aug 23, 2004 10:12 pm    Post subject: mosuse postion Reply with quote

I noticed that there was a mouse postion thing in the help for this program, but it only shows the postion when you run it and not when you move it around. So i changed it up alittle to report the Postion the whole time. It has made my scripting much easier for me.

[code]
MouseGetPos, xpos, ypos
Msgbox, The cursor is at X%xpos% Y%ypos%.

; This example allows you to move the mouse around to see
; the postion of said pointer
#Persistent
SetTimer, WatchCursor, 100
return

WatchCursor:
MouseGetPos, xpos, ypos,
ToolTip, x%xpos% Y%ypos%
return
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Mon Aug 23, 2004 10:15 pm    Post subject: Reply with quote

Nice, thanks.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group