Jump to content

**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.

ie

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

hope this makes sense.

Thanks

Edited by grtech
Link to comment
Share on other sites

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

i just used the following IF statement

CODE

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

Shutdown(0)

Else

EndIf

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...