• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: symlinks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >symlinks (From: Luther Fuller <email@hidden>)
 >Re: symlinks (From: Emmanuel LEVY <email@hidden>)
 >Re: symlinks (From: Luther Fuller <email@hidden>)
 >Re: symlinks (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: symlinks
  • Next by Date: Re: Symlinks
  • Previous by thread: Re: symlinks
  • Next by thread: Re: symlinks
  • Index(es):
    • Date
    • Thread