Re: Alias Files
Re: Alias Files
- Subject: Re: Alias Files
- From: Alex Zavatone <email@hidden>
- Date: Wed, 22 May 2013 14:37:49 -0400
You're searching for the FSAliasManager
http://developer.apple.com/library/mac/#documentation/Carbon/Reference/Alias_Manager/Reference/reference.html
https://developer.apple.com/library/mac/documentation/Carbon/Reference/Alias_Manager/alias_manager.pdf
But this is deprecated in OS 10.8
https://developer.apple.com/library/mac/#releasenotes/General/CarbonCoreDeprecations/
FYI, in 10.8, they are referred to as "bookmarks" and are documented in the CFURL Reference and the NSURL Reference if you want a solution that moves forwards with you.
On May 22, 2013, at 2:29 PM, Luther Fuller wrote:
> My script links to various folders via alias files. I use alias files because they (usually) respond correctly to moving folders and name changing. Yesterday, I encountered an incorrectly linked folder. I will have to make a small change to my script to correct this, but, first, I need more information on how alias files work.
>
> The incorrect link was caused by the following manual changes:
> 1. The 'original item' of an alias file is a folder which I will call "Original".
> I wanted to move another folder, elsewhere on the same HD and also
> named "Original", to the same location, so …
> 2. I renamed the 'original item' folder as "Original old".
> 3. I moved the folder "Original" to the same location as "Original old".
> 4. I moved the folder "Original old" into the folder "Original".
>
> The alias file should now be pointing to the folder "Original old",
> but it's not. It's pointing to the folder "Original".
>
> I have confused the OS X (10.7.5) alias file coordinator.
> Does Apple have any documentation that detail how alias files are coordinated?
>
>
>
>
> _______________________________________________
> 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
_______________________________________________
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: | |
| >Alias Files (From: Luther Fuller <email@hidden>) |