Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

how 2 make automator shut down macbook?

is there anyway i can make automator shut down mac book or put it to sleep when a particular list of tasks is done?

also if possible wake it up or boot it up as and when required.

MacBook, Mac OS X (10.5.5)

Posted on Oct 30, 2008 9:21 PM

Reply
Question marked as Best reply

Posted on Oct 30, 2008 9:32 PM

Add the following AppleScript action to the end of the workflow:

tell application "System Events"
sleep--or shut down
end tell

Waking up or starting the computer requires using the Energy Saver pane of System Preferences.

(37232)
4 replies

Nov 1, 2008 10:40 AM in response to Niel

hello Neil, what u adviced pretty much solves my issue so please notice the star.

however, i have kept the thread as unanswered cause i have one more question, if you could help me out. i pasted the script in 'run apple script' action it did put my mac to sleep. then, using script editor i saved the script as an app and then using 'launch application' action i pointed to this app. this time too the mac went to sleep but there was an error in automator when i woke it up which asked me to check the action's properties. so can u tell me what is happening? also, later i saved the script as a script file using script editor. now i cant find any automator action to point to this script like i could point to an app using 'launch application' action. any help on that?

i appreciate your time. mac is beautiful. and after i am done with my java web development course i definitely got to learn apple script.

Neerav

Message was edited by: AceNeerav

how 2 make automator shut down macbook?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.