New2Autoit Posted June 14, 2006 Posted June 14, 2006 (edited) Just wanted to take this time and introduce myself. I'm a newbie to AutoIt and think it's a very cool program.Also I have been working on a script and if anyone can help me out I'll Appreciate it, working on xp sp2 pro.Ok, So here it is.DriveMapAdd("o:","\\server",8,"myusername","password")dim $tab, $enter, $space$tab = "{tab}" $space= "{space}"$enter="{enter}"$alt="{alt}";running commandRun("cmd.exe")send($space)send("O:" & $enter);activating patchlinksend("UpdateAgent.msi" & $enter );exiting cmdsend("exit" & $enter );waiting for patchlink to initialize - only one window titleWinWait("PatchLink Update Agent - InstallShield Wizard")Send($alt)Send("!N")Send("!A")Send("!N")Send("!N");sends the install commandsend("!i")send("!f")winwaitnotactive("PatchLink Update Agent - InstallShield Wizard")DriveMapdel("o:")the problem occurs when the installation finishes. The "!f" never executes, requiring a user to be present. I will continue to look at the autoit bible. Thanks in advance. : D, forgot to note that I don't want to use sleep(), for all machines are not the same. Thanks again Edited June 14, 2006 by New2Autoit
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now