2002-11-15 18:45:47 +00:00
\S{rebootinst} Reboot Instructions
2002-09-18 16:34:39 +00:00
2004-10-10 18:41:43 +00:00
\S2{reboot} Reboot
2002-09-18 16:34:39 +00:00
2004-10-14 13:56:02 +00:00
Reboots the computer. Be careful with this one. If it fails, \R{onrebootfailed}{.onRebootFailed} is called. In any case, this instruction never returns, just like \R{quit}{Quit}.
2002-09-18 16:34:39 +00:00
2004-10-10 18:41:43 +00:00
\c MessageBox MB_YESNO|MB_ICONQUESTION "Do you wish to reboot the system?" IDNO +2
\c Reboot
\S2{setrebootflag} SetRebootFlag
2002-09-18 16:34:39 +00:00
2002-10-26 19:23:10 +00:00
\c true|false
2002-09-18 16:34:39 +00:00
2004-10-10 18:41:43 +00:00
Sets the reboot flag to either true or false. The flag's value can be read using \R{ifrebootflag}{IfRebootFlag}.
\c SetRebootFlag true
\c IfRebootFlag 0 +2
\c MessageBox MB_OK "this message box will always show"