Skip to content

Instantly share code, notes, and snippets.

@xee5ch
Created April 14, 2011 14:47
Show Gist options
  • Save xee5ch/919625 to your computer and use it in GitHub Desktop.
Save xee5ch/919625 to your computer and use it in GitHub Desktop.
The following error message when a smb unmount fails.
4/14/11 5:32:16 PM MarcoPolo[20081] AppleScript failed to execute! Script was:
tell application "Finder"
activate
eject "smb://dept.office.company.tld/ShareName$"
end tell
Error dictionary: {
NSAppleScriptErrorAppName = Finder;
NSAppleScriptErrorBriefMessage = "Can\U2019t make \"smb://dept.office.company.tld/ShareName$\" into type item.";
NSAppleScriptErrorMessage = "Finder got an error: Can\U2019t make \"smb://dept.office.company.tld/ShareName$\" into type item.";
NSAppleScriptErrorNumber = "-1700";
NSAppleScriptErrorRange = "NSRange: {39, 52}";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment