Jump to content
Sign in to follow this  

**SOLVED**screen timeout

Recommended Posts


Hi all

I am running a script which runs in domain admin, which only displays the gui and the actual installation, but i have come accross a slight but could be big issue.

if i cancel the installation it stays at a blank screen and does not finish the script.

is there a way i could have the script timeout on a screen appearing and then log off.


if the screen, installer does not appear then logout but if it does appear wait for next window.

hope this makes sense.


Edited by grtech

Share this post

Link to post
Share on other sites

maybe WinWaitActive?

only thing is there is more afterwards

Share this post

Link to post
Share on other sites

it all ok managed to figure it out now, thank you.

i just used the following IF statement


WinWaitClose("Sage Accounts Production Advanced","Check Settings and Install")

WinWaitActive("Sage Accounts Production Advanced","Current",10)

WinActivate("Sage Accounts Production Advanced","Current")

IF WinWaitNotActive("Sage Accounts Production Advanced","Current",1) Then




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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.