Jump to content

Applescript to mount drives doesn't seem to run


Recommended Posts

My workflow is keyword --> run applescript

 

set sfiles to "afp://username:password@coruscant.home/Cargo Transport"

tell application "Finder"
	mount volume sfiles
end tell

set sfiles to "afp://username:password@coruscant.home/romen"

tell application "Finder"
	mount volume sfiles
end tell

 

 

This script runs standalone in the AppleScript editor as well as Alfred 1.   I did notice the following error in the console log:

 

 2/2/13 10:29:37.093 AM Alfred 2[443]: [ERROR] AppleScript Error: {

    NSAppleScriptErrorNumber = "-1708";

}

 
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...