Forum Discussion

RobertFromDresd's avatar
RobertFromDresd
Occasional Contributor
14 years ago

Ignore: "The window is disabled. The action cannot be executed."

Hello @all,



my script sometimes waiting al longtime till a process is done and a new interaction is again possible. In this "idle"-time the script fires some Keys() to check the programs staus. But it gets the error "The window is disabled. The action cannot be executed." back.

Turn off all errors in optionspage solves my problem, but its to much i think. Is there a more accurate way to jump over this message?





thanks und regards

Robert

2 Replies

  • rgratis's avatar
    rgratis
    Frequent Contributor
    I usually use the "Enabled" property on controls/windows to wait for them to become enabled again.  Is this possible in your case, rather than using Keys to check the progress?
  • RobertFromDresd's avatar
    RobertFromDresd
    Occasional Contributor
    hi and thanks for your answer,



    i tried to do smt like that. But we use a very own GUI, we just load some native C-Objects an than start to load our very unique GUI. So that when the nativ C-Objects ready, the load process just begin. ;)



    But i will try about this for a while.



    Regards

    Robert