Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mikes63737

macrumors 65816
Original poster
Jul 26, 2005
1,160
357
I recently made an automator script that connects to my server and downloads the files on there. However, I cannot get it to eject the share at all. How can I do this? I tried to use the "Eject Disk" option, but it didn't work.

Here's my script:
 
The eject disk action will work, but you need to re-specify the server before you do it. So at the end of your workflow put the specify server (again), then put the eject disk action.

That should take care of it.
 
The eject disk action will work, but you need to re-specify the server before you do it. So at the end of your workflow put the specify server (again), then put the eject disk action.

That should take care of it.

That doesn't work.
 
Lame. Sorry I don't have any suggestions at the moment. Perhaps I can give it a shot tomorrow on my server's.

Don't worry about it... it's not a big deal. I would like to have it disconnect, but it isn't a big thing if it doesn't.
 
Don't worry about it... it's not a big deal. I would like to have it disconnect, but it isn't a big thing if it doesn't.
It would be posable to do it using an AppleScript action in your workflow.
I can't write one right now, but I'll do it tomorrow.
 
It would be posable to do it using an AppleScript action in your workflow.
I can't write one right now, but I'll do it tomorrow.

Thanks! It works now.

Code:
tell application "Finder"
	
	eject disk "FILES"
	
end tell
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.