Sign in to follow this  
Followers 0
Guest Cyberchriss

Control-commands compiling issue

2 posts in this topic

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?

Share this post


Link to post
Share on other sites



Problem solved!

Should be Run instead of RunWait!

*g*

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  
Followers 0