New2Autoit Posted June 14, 2006 Share Posted June 14, 2006 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.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. Link to comment Share on other sites More sharing options...
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