Re: symlinks
Re: symlinks
- Subject: Re: symlinks
- From: Luther Fuller <email@hidden>
- Date: Fri, 13 Aug 2010 19:02:17 -0500
The problem seems to be 'quoted form of'. This prompts another question: If posixPath is a valid (unquoted) posix path, then what is the easiest way to coerce it to an alias? It seems to be:
set itemAlias to alias POSIX file posixPath
If the item does not exist, this line will error, so it should be used in a try block.
I got this by trying some variations on the theme suggested by Shane Stanley.
On Aug 13, 2010, at 6:28 PM, Shane Stanley wrote: If you read the whole post, you'll see that it's in the context of AppleScriptObjC, and how it requires coercions where normal AS requires specifiers.
No, I did not see the whole post, but now I think I see more clearly how things work. Thanks all. |
_______________________________________________
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