sadisticopiate Posted April 5, 2008 Posted April 5, 2008 (edited) i made an autoit script for norton ghost 12 and it works fine sometimes and other times it seems like it miss types or the timing is off or something can anyone tell me why?also i would like to automatically initiate my lmhosts file during install but have no clue how i figure just put it in the i386 folder with the lmhosts.sam file but im not sure if that would copy it over or not and if it does will windows automatically read that lmhosts filehere is my ghost12 scriptOpt("WinWaitDelay",100)Opt("WinTitleMatchMode",4)Opt("WinDetectHiddenText",1)Opt("MouseCoordMode",0)Run('C:\WinXE\NGhost12Install\SETUP.EXE')WinWait("Norton Ghost - InstallShield Wizard","")If Not WinActive("Norton Ghost - InstallShield Wizard","") Then WinActivate("Norton Ghost - InstallShield Wizard","")WinWaitActive("Norton Ghost - InstallShield Wizard","")Sleep("5000")AutoItSetOption("SendKeyDelay", 400)Send("{ENTER}")Send("a")Send("n")Send("n")Send("s")Send("n")Send("{DOWN}")Send("{DOWN}")Send("{DOWN}")Send("{DOWN}")Send("{SPACE}")Send("{DOWN}")Send("{DOWN}")Send("{DOWN}")Send("{ENTER}")Send("{ENTER}")Send("i")Sleep(70000)Send("{TAB}")Send("{SPACE}")Send("f")WinWait("Norton Ghost Installer Information","")If Not WinActive("Norton Ghost Installer Information","") Then WinActivate("Norton Ghost Installer Information","")WinWaitActive("Norton Ghost Installer Information","")Send("n")$SF_1 = "SETUP.EXE"If WinExists ( $SF_1 ) Then ExitAutoItWinSetTitle ( $SF_1) thx ahead of time for the helpalso sorry if this is the wrong section to ask this Edited April 5, 2008 by sadisticopiate
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