Re: is there something special about smb volumes?
Re: is there something special about smb volumes?
- Subject: Re: is there something special about smb volumes?
- From: Christopher Stone <email@hidden>
- Date: Thu, 19 May 2016 13:54:59 -0500
On May 19, 2016, at 12:35, Stockly, Ed <email@hidden> wrote:
I can make aliases to volumes on the server in the user interface, and they work just fine.
But if I try to script them they fail with a "not found" message.
______________________________________________________________________
Hey Ed,
It's been too damn long since I had a local network to test with...
I do remember all kinds of mess with trying to use the alias form in a script for a remote item though.
What happens if you run these on an actual alias file on disk?
----------------------------------------------------------------- set theAlias to ((path to downloads folder as text) & "SourceTree alias")
tell application "Finder" set aliasToOriginalItem to original item of file theAlias as alias set aliasOriginalItemPath to original item of file theAlias as text end tell
set aliasOriginalItemPosixPath to POSIX path of aliasOriginalItemPath
-----------------------------------------------------------------
You can probably just address the smb: path direct. See this thread:
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden