Jump to content

How to check for Mouse Status (egg-timer)


Recommended Posts

Quick question...

I want to check whether the Mouse is in a busy (egg-timer) state, or ready to accept another LeftClick. I can't find anything in the documentation (still looking), and I've tried searching the forums!

Can someone offer a quick UDF that will make my AU3 script sit and wait until the Mouse is available?

Thanks :rolleyes:

Link to comment
Share on other sites

Quick question...

I want to check whether the Mouse is in a busy (egg-timer) state, or ready to accept another LeftClick. I can't find anything in the documentation (still looking), and I've tried searching the forums!

Can someone offer a quick UDF that will make my AU3 script sit and wait until the Mouse is available?

Thanks :rolleyes:

Try MouseGetCursor().

;create an array that tells us the meaning of an ID Number
$IDs = StringSplit("AppStarting|Arrow|Cross|Help|IBeam|Icon|No|" & _
"Size|SizeAll|SizeNESW|SizeNS|SizeNWSE|SizeWE|UpArrow|Wait", "|")
$IDs[0] = "Unknown"

while 1
  $cursor = MouseGetCursor()
  TrayTip("","ID = " & $cursor & " Which means " & $IDs[$cursor],1)
  sleep(100)
WEnd
Edited by /dev/null

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...