Jump to content

Recommended Posts

Posted (edited)

Hey,

I'm using Syntoy to synchronize some folders. While it is doing that, the close button is preyed out and cannot be pressed.

I want to wait until that button is ungreyed and thus the work is done so I can press it.

How should I do that?

Edited by gertsolo

The more you learn, the less you know.

Posted

What do you mean by access it? Click it automatically or just check the state?

I mean what should I use to click it

The more you learn, the less you know.

Posted

ControlClick(). You really need to read the helpfile and pay attention to the Control* commands.

Ure right, I got it. I know that I have to use ControlClick, but I was referring to what controlID I should use. Anyway I got it.

One question left though, what is the exact syntax to check if it is enabled?

The more you learn, the less you know.

Posted
Posted

Seriously, read the helpfile. ControlCommand(*window_title*,"",*control_id*,"IsEnabled") <--Returns 1 if enabled, 0 otherwise.

ROGER THAT!!!!

thanks for your help dbzfanatic!

(me just rookie )

The more you learn, the less you know.

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
×
×
  • Create New...