| View previous topic :: View next topic |
| Author |
Message |
clamont
Joined: 28 Feb 2010 Posts: 2
|
Posted: Sun Feb 28, 2010 1:45 pm Post subject: Mouse Icon |
|
|
| Is there anyway that you can detect when the mouse icon changes as you you move it? |
|
| Back to top |
|
 |
fred
Joined: 01 Feb 2010 Posts: 230 Location: Netherlands
|
Posted: Sun Feb 28, 2010 1:55 pm Post subject: |
|
|
| You could use MouseGetPos to get the x,y and then check if it has changed. |
|
| Back to top |
|
 |
clamont
Joined: 28 Feb 2010 Posts: 2
|
Posted: Sun Feb 28, 2010 3:19 pm Post subject: |
|
|
| 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 |
|
 |
closed
Joined: 07 Feb 2008 Posts: 509
|
Posted: Sun Feb 28, 2010 3:40 pm Post subject: |
|
|
| 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 |
|
 |
|