sorry for didnt write any information at title i forgot
hi guys i still learning autoit script and i have a small question if anyone knows.
my script make a question of yes and no and i wanna make an option for my client .
when he press no i wanna let him choose the time to run script, and after the time gone it ask again if run the script or wait again(i wanna backup outlook files and i cant close the program when my manager write some important mails so i let him choose the time).
thanks anyways
; Prompt the user to run the script - use a Yes/No prompt (4 - see help file)
$answer = MsgBox(4, "AutoIt Example (English Only)", "run backup now?")
; Check the user's answer to the prompt (see the help file for MsgBox return values)
; If "No" was clicked (7) then exit the script
If $answer = 7 Then
MsgBox(0, "choose time to run backup")
EndIf
; Run MSDos
Run("notepad.exe")
WinWaitActive("[CLASS:Notepad]")
hi guys i still learning autoit script and i have a small question if anyone knows.
my script make a question of yes and no and i wanna make an option for my client .
when he press no i wanna let him choose the time to run script, and after the time gone it ask again if run the script or wait again(i wanna backup outlook files and i cant close the program when my manager write some important mails so i let him choose the time).
thanks anyways
; Prompt the user to run the script - use a Yes/No prompt (4 - see help file)
$answer = MsgBox(4, "AutoIt Example (English Only)", "run backup now?")
; Check the user's answer to the prompt (see the help file for MsgBox return values)
; If "No" was clicked (7) then exit the script
If $answer = 7 Then
MsgBox(0, "choose time to run backup")
EndIf
; Run MSDos
Run("notepad.exe")
WinWaitActive("[CLASS:Notepad]")