Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How to restart a Mac?

Answer: Ask the Finder via Apple Events:
Example
dim ae as appleevent
ae=newappleEvent("FNDR","rest","MACS")
if not ae.send then
msgBox "The computer couldn't be restarted."
end if

The biggest plugin in space...