Go Back   MacRumors Forums > Apple Systems and Services > Mac Basics and Help

Reply
 
Thread Tools Search this Thread Display Modes
Old May 11, 2008, 10:32 AM   #1
caseyo
macrumors newbie
 
Join Date: Jan 2008
Eject External Hard drive with Automator

Hi. I'd like to create a simple Automator workflow that ejects an external hard drive when I run it. I found an "Eject Disk" action, but I'm not sure how to specify what to eject, or if that is even the right action. (Its probably just for CDs anyways?) There is also the eject iPod action, so something exactly like that except "Eject External Drive."

Thank you!
caseyo is offline   0 Reply With Quote
Old May 11, 2008, 10:40 AM   #2
karenflower
macrumors 6502a
 
karenflower's Avatar
 
Join Date: Dec 2007
One way of doing this is by putting 'Get Specified Finder Items' above 'Eject Disk', and adding the drive that you want to be ejected in the box. Then when it runs, it will look for what you've specified and do the action.
karenflower is offline   0 Reply With Quote
Old May 19, 2008, 08:21 AM   #3
reubs
macrumors 68000
 
Join Date: Jun 2006
I just set up my system to do this (to see if it's quicker than clicking/ejecting), but I don't know if there's a specified place to save the Automator script to. Should it be saved as a finder script in the Library/Scripts folder, or do Automator scripts have a specific place to be saved?

Thanks for helping an automator newbie!
reubs is offline   0 Reply With Quote
Old May 19, 2008, 08:31 AM   #4
karenflower
macrumors 6502a
 
karenflower's Avatar
 
Join Date: Dec 2007
You can save it anywhere you want to. Whatever is most accessible for you. There's some more information on saving Automator workflows here.
karenflower is offline   0 Reply With Quote
Old May 19, 2008, 09:34 AM   #5
reubs
macrumors 68000
 
Join Date: Jun 2006
Thanks. I just ran it by clicking the workflow, but I realize I still have to hit "Run" after Automator opens. Is there a way to click the workflow and make automator run the workflow immediately after clicking it?
reubs is offline   0 Reply With Quote
Old May 19, 2008, 09:38 AM   #6
karenflower
macrumors 6502a
 
karenflower's Avatar
 
Join Date: Dec 2007
Yes. If you look on the link I gave, one of the options listed is to save it as an application.

Quote:
Application (.app)
This is a really cool way to save your Automator workflow. When you save the workflow as an application, it will appear just like an application file (.app) and will allow you to run the workflow by double-clicking (just like a real application). You can save a workflow like this by clicking File > Save, and selecting "application" from the format drop-down menu.
karenflower is offline   0 Reply With Quote
Old May 19, 2008, 09:58 AM   #7
reubs
macrumors 68000
 
Join Date: Jun 2006
Cool. I didn't get that far with it all. I just bookmarked it! WIll look at it later tonight.

Thanks again!
reubs is offline   0 Reply With Quote
Old May 19, 2008, 09:59 AM   #8
karenflower
macrumors 6502a
 
karenflower's Avatar
 
Join Date: Dec 2007
No problem.
karenflower is offline   0 Reply With Quote
Old Jun 3, 2008, 07:46 AM   #9
reubs
macrumors 68000
 
Join Date: Jun 2006
To revisit this thread, is there an easy way (besides disk utility) to mount an external HDD through automator or Applescript?
reubs is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Mac Basics and Help

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
external drive won't eject pcmorgan OS X Mavericks (10.9) 0 May 2, 2014 11:01 AM
Unable to eject external hard drive cgm707 OS X Mavericks (10.9) 2 Feb 15, 2014 09:31 AM
Can I assign the "eject" key to eject my External DVD drive? bobright iMac 4 Dec 29, 2012 05:41 PM
external hard drive not recognized after force eject tehdude Mac OS X 10.7 Lion 10 Dec 13, 2012 05:54 PM
rMBP external hard drive eject issue ffdesigns MacBook Pro 0 Jun 19, 2012 03:19 PM

Forum Jump

All times are GMT -5. The time now is 11:21 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC