Jump to content

Recommended Posts

Hi guys,

 

In V1 I could eject an external firewire drive which is connected to another mac (mac mini server) on our local network. This no longer works, meaning we have to screen share each time to eject this drive as the server has no screen.

 

Working code in V1:

 

 

tell application "Finder" of machine "eppc://userame:password@machine.local" to eject "My Passport Studio"
display dialog "Ejected" buttons "OK" default button "OK"
 
Is there a better way to do this in V2?
 
Thanks,
 
Ben
Edited by fruitstudios
Link to comment

Hi guys,

 

In V1 I could eject an external firewire drive which is connected to another mac (mac mini server) on our local network. This no longer works, meaning we have to screen share each time to eject this drive as the server has no screen.

 

Working code in V1:

 

 

tell application "Finder" of machine "eppc://userame:password@machine.local" to eject "My Passport Studio"
display dialog "Ejected" buttons "OK" default button "OK"
 
Is there a better way to do this in V2?
 
Thanks,
 
Ben

 

This should still work. When you created a workflow for doing this, did you put the code in an NSAppleScript module or use a Run Script module and set the language to osascript?

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...