GrahamFrewin Posted June 13, 2007 Share Posted June 13, 2007 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 Link to comment Share on other sites More sharing options...
/dev/null Posted June 13, 2007 Share Posted June 13, 2007 (edited) 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 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 June 13, 2007 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 More sharing options...
GrahamFrewin Posted June 13, 2007 Author Share Posted June 13, 2007 That works a treat - thank you very much. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now