action sleep Structure: Put the computer to sleep.
action sleep structure
If the computer is powered on and awake, puts the computer into sleep mode. The next action will not be performed until the computer next wakes up or powers on.
No running process can block sleep. This action mimics the user selecting sleep from macOS's Apple menu.
seconds to sleep before waking up.
Back to the previous page.