Previous Book Contents Book Index Next

Inside Macintosh: AppleScript Finder Guide /
Chapter 3 - Finder Commands / Command Definitions


Sleep

The Sleep command is a request to put a PowerBook to sleep. It is equivalent to choosing Sleep from the Special menu. Before putting the computer to sleep, the Finder displays a dialog box asking the user to confirm the decision.

SYNTAX
sleep
PARAMETERS
None

RESULT
None

EXAMPLE
tell application "Finder" to sleep 

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996