Re: Say "What?"
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