FB II Compiler
PG PRO
Debugging
Memory
System
Mathematics
Resources
Disk I/O
Windows
Controls
Menus
Mouse
Keyboard
Text
Fonts
Drawing
Sound
Clipboard
Printing
Communication
ASM
IF myConditionMet THEN SHUTDOWN
works for me for #2, which also forces all running applications to quit.
Greg
To shutdown Macs elegantly use this:
CALL SHUTDWNPOWER to restart Macs elegantly use this:
CALL SHUTDWNPOWER
CALL SHUTDWNSTART
Brian