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 

Mouse Icon

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
clamont



Joined: 28 Feb 2010
Posts: 2

PostPosted: Sun Feb 28, 2010 1:45 pm    Post subject: Mouse Icon Reply with quote

Is there anyway that you can detect when the mouse icon changes as you you move it?
Back to top
View user's profile Send private message
fred



Joined: 01 Feb 2010
Posts: 230
Location: Netherlands

PostPosted: Sun Feb 28, 2010 1:55 pm    Post subject: Reply with quote

You could use MouseGetPos to get the x,y and then check if it has changed.
Back to top
View user's profile Send private message
clamont



Joined: 28 Feb 2010
Posts: 2

PostPosted: Sun Feb 28, 2010 3:19 pm    Post subject: Reply with quote

yes, but how do i detect it has changed? and can i detect what to, although this is not the important factor.
Back to top
View user's profile Send private message
closed



Joined: 07 Feb 2008
Posts: 509

PostPosted: Sun Feb 28, 2010 3:40 pm    Post subject: Reply with quote

Code:
#persistent
SetTimer, alert,500
return


alert:
ToolTip, %A_Cursor%
return

esc::
ExitApp



You can see if the A_Cursor variable changes content and act upon it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help 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