• 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: Say "What?"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Say "What?"


  • Subject: Re: Say "What?"
  • From: Christopher Nebel <email@hidden>
  • Date: Mon, 4 Jan 2010 17:03:57 -0800

On Jan 3, 2010, at 8:56 AM, Paul Skinner wrote:

> So, the moral of this script is that Aliases aren't what I thought they were. I thought that they were references to the inode or some such, and didn't care about the file properties like names. Other than namespace collisions at the folders level that is. The solution seems to be to recreate the aliases as you modify the filenames. I had no idea that this was so. Has it always been so? ...

Weeeelll, you were *mostly* correct, and way back when, your original code would have worked.  However, you got bit by a relatively recent change (10.2-ish, I think, but don't quote me on that) to how aliases get resolved.  In particular, they now prefer a matching name over matching the inode number, the idea being that if you put an new file in the place where the old one was, the alias will resolve to the new file, not the old one, which is exactly the failure you were seeing.


--Chris Nebel
AppleScript Engineering _______________________________________________
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

  • Follow-Ups:
    • Re: Say "What?"
      • From: Luther Fuller <email@hidden>
References: 
 >Say "What?" (From: Paul Skinner <email@hidden>)
 >Re: Say "What?" (From: Paul Skinner <email@hidden>)

  • Prev by Date: Re: Say "What?"
  • Next by Date: New list for AppleScriptObjC!
  • Previous by thread: Re: Say "What?"
  • Next by thread: Re: Say "What?"
  • Index(es):
    • Date
    • Thread