Jump to content
Sign in to follow this  
acoustic25

how to use return value of controlclick??

Recommended Posts

the script goes

winwaitactive.....

controlclick...

what i want to do is when the controlclick is successful then do this, if not then blah blah blah.

the problem is when the windows is active the button is sometimes unclickable. that's when the script hangs.

 

 

 

Share this post


Link to post
Share on other sites

Just try to see the return value of ControlClick when it is greyed out and when it is not.

$ControlClick = ControlClick(stuff)

MsgBox(0,0,$ControlClick)

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...