scottfwalter Posted February 2, 2013 Share Posted February 2, 2013 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
aiyo Posted February 2, 2013 Share Posted February 2, 2013 you need to surround your code with: on alfred_script(q) -- Your code goes here end alfred_script Link to comment
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