SYSCMD

SYSCMD <action>

Send standard system command to the current destination window. The valid commands are (case insensitive):

· CLOSE

· RESTORE

· MINIMIZE

· MAXIMIZE

· SHUTDOWN

· REBOOT

Example:

'-- Maximize current destination window
SYSCMD maximize
'-- Minimize current destination window
SYSCMD minimize
'-- Restore current destination window
SYSCMD restore
'-- Close current destination window
SYSCMD close
'-- Shut down windows system
SYSCMD shutdown
'-- Reboot windows system
SYSCMD reboot

See Also

Current destination window

Shortcut Script Syntax