Jump to content

Control-commands compiling issue


Recommended Posts

Guest Cyberchriss
Posted

I have a problem with my setup-script.

The script is working fine when i execute it.

After compiling it doesnt work ynymore :ph34r:

RunAsSet ("Loginname","domain", "Pass")
RunWait ("\\av01\hd_av01\Setup\Freigegeben\System40\setup2.exe")


AutoItSetOption ("SendKeyDelay", 40)
WinWaitActive ("Warnung")
ControlClick ("Warnung","","Button2","","1")
WinWaitClose ("Warnung")

WinWaitActive("Informationen")
ControlSend ("Informationen","","Edit1","MetSys","")
ControlClick("Informationen","","Button2","","1")
WinWaitClose("Informationen")

WinWaitActive("Setup abgeschlossen")
ControlClick("Setup abgeschlossen","","Button5","","1")
ControlClick("Setup abgeschlossen","","Button2","","1")
WinWaitClose("Setup abgeschlossen")
RunAsSet()

any idear where the problem is?

Guest Cyberchriss
Posted

Problem solved!

Should be Run instead of RunWait!

*g*

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
  • Recently Browsing   0 members

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