Ankilo Posted March 25, 2013 Posted March 25, 2013 Hi, is there a way to combine the system commands "sleep" and "eject" in a workflow without using any extra scripts? If not, how would a script look like for ejecting a special external drive? Thanks for helping Greetings
jdfwarrior Posted March 25, 2013 Posted March 25, 2013 Hi, is there a way to combine the system commands "sleep" and "eject" in a workflow without using any extra scripts? If not, how would a script look like for ejecting a special external drive? Thanks for helping Greetings There isn't a way to just easily do that because the Eject command isn't available as an action. However I think this could be done with a little applescript. I think you should be able to create a workflow with an input keyword, and add two actions, a Run Script and a System Command. Set the system command to sleep, and the Run Script.... set language to /usr/bin/osascript, and do something like... tell application "Finder" eject disk "My Drive" end tell
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now