New2Autoit
Content Type
Profiles
Forums
Events
Posts posted by New2Autoit
-
-
hi GeneralMandible
I would like to see how your scripts work, do you mind if you post the source?
Thanks in advance.
0 -
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 command
Run("cmd.exe")
send($space)
send("O:" & $enter)
;activating patchlink
send("UpdateAgent.msi" & $enter )
;exiting cmd
send("exit" & $enter )
;waiting for patchlink to initialize - only one window title
WinWait("PatchLink Update Agent - InstallShield Wizard")
Send($alt)
Send("!N")
Send("!A")
Send("!N")
Send("!N")
;sends the install command
send("!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
0 -
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 command
Run("cmd.exe")
send($space)
send("O:" & $enter)
;activating patchlink
send("UpdateAgent.msi" & $enter )
;exiting cmd
send("exit" & $enter )
;waiting for patchlink to initialize - only one window title
WinWait("PatchLink Update Agent - InstallShield Wizard")
Send($alt)
Send("!N")
Send("!A")
Send("!N")
Send("!N")
;sends the install command
send("!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.
0
[How-to] Automate drive maintenance - BETA
in Windows XP
Posted
Thanks