AutoHotkey Community

It is currently May 27th, 2012, 4:31 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Mouse Icon
PostPosted: February 28th, 2010, 2:45 pm 
Offline

Joined: February 28th, 2010, 2:43 pm
Posts: 2
Is there anyway that you can detect when the mouse icon changes as you you move it?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 28th, 2010, 2:55 pm 
Offline

Joined: February 1st, 2010, 2:50 pm
Posts: 237
Location: Netherlands
You could use MouseGetPos to get the x,y and then check if it has changed.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 28th, 2010, 4:19 pm 
Offline

Joined: February 28th, 2010, 2:43 pm
Posts: 2
yes, but how do i detect it has changed? and can i detect what to, although this is not the important factor.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 28th, 2010, 4:40 pm 
Offline

Joined: February 7th, 2008, 9:48 pm
Posts: 509
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.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Mickers, rbrtryn and 62 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group