Put Computer to Sleep
Put the computer into sleep mode.
Put Computer to Sleep [ Select ; Result (error) ]
|Select entire contents||replaces the entire contents of a field with the result. If not checked the result replaces the currently selected portion of the field|
|Result (error)||an error code|
Data type returned
The returned result is an error code. If successful it returns 0. An error always starts with 2 dollars, followed by the error code. You should always check for errors.
Returned error codes can be:
|$$-50||parameter error||check if your parameters are correct|
|$$-4131||this computer does not have suitable hardware to do this|
Other errors may be returned.
Activator Plug-in 4.5
FileMaker Pro 16
– This script step only works on computers that support sleep.
– The script step returns before the computer has gone into sleep. Use a Pause/Resume step with 20 seconds pause, to be sure the next step is executed after the sleep.
Put Computer to Sleep [ Select ; Result ]
Put the computer to sleep. It will only wake up by the user waking it.
Related script steps