home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Education
/
collectionofeducationcarat1997.iso
/
COMPUSCI
/
BCHREF.ZIP
/
RESTORE2.WBT
< prev
next >
Wrap
Text File
|
1992-05-22
|
2KB
|
41 lines
; ** RESTORE2.WBT **
; This is the Restore sub-routine. It's goal is to provide the user
; with a simple yet informative lesson on how to perform a Restore option
; with Norton Backup. To run this lesson, the user MUST have performed the
; Backup tutorial, hence have a backup set to restore.
:Initial
textbox("Advisor","restor1.txt") ; intro to restore
call("nbload.wbt","4")
ignoreinput(@on)
message("Advisor","The Restore button is located between the Compare and Configure buttons.")
message("Advisor","Now switching to the Restore screen...")
winactivate("Norton Backup - DEFAULT.SET")
sendkey("!b")
sendkey("!R") ; switch to Restore Screen
:Main
textbox("Advisor","restor2.txt") ; explain Restore screen
winactivate("Norton Backup - DEFAULT.SET")
crlf=strcat(num2char(13),num2char(10))
message("Advisor",strcat("Press the Spacebar until 'ALL Files appears next to the C: drive.",crlf,"When finished, press F11 function to continue."))
winactivate("Norton Backup - DEFAULT.SET")
sendkey("{tab}") ; tab to Restore From
delay(1)
sendkey("{tab}") ; tab to Restore Files
delay(1)
sendkey("{tab}") ; tab to c: drive
delay(1)
ignoreinput(@off)
waitforkey("{f11}","","","","") ; IF 'ALLF FILES' IS ALREADY SET, IT WILL CONTINUE
ignoreinput(@on)
winactivate("Norton Backup - DEFAULT.SET")
delay(1)
textbox("Advisor","restor3.txt") ; explain final Restore procedures
winactivate("Norton Backup - DEFAULT.SET")
sendkey("!s") ; begin restore process
call("waitloop.wbt"," ")
return