• 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: Alias Files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alias Files


  • Subject: Re: Alias Files
  • From: Philip Aker <email@hidden>
  • Date: Sat, 2 Aug 2008 22:51:36 -0700

On 2008-08-02, at 03:35:20 , KOENIG Yvan wrote:

Try this instead: <http://vcn.bc.ca/~philip/#GetAliasTarget>.

I downloade it.

I'm running 10.4.11

If the media is missing, I get an error exactly as I get one with a Finder call ;-(

I see. It's not a problem on my setups when the alias was created on either 10.4 or 10.5. In the process of checking out your report, I think I found a solution -- well at least proof of concept.


I believe the problem is multifold because there are two forms of storage for aliases and two sets of APIs for dealing with them. So if you created those aliases long ago, they will be stored in the old style and the old style functions to get the path are needed to retrieve them. Furthermore there is a consideration between PPC and Intel for resource fork byte ordering.

So I created version 1.0.1 of GetAliasTarget which uses those old style functions. So if you can verify that you get the HFS path using version 1.0.1, I think everyone should file a bug because then there's some proof that it can be done.

Same link: <http://vcn.bc.ca/~philip/#GetAliasTarget>.

Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

_______________________________________________
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: Alias Files
      • From: KOENIG Yvan <email@hidden>
    • Re: Alias Files
      • From: Philip Aker <email@hidden>
References: 
 >Alias Files (From: Luther Fuller <email@hidden>)
 >Re: Alias Files (From: Neil Laubenthal <email@hidden>)
 >Re: Alias Files (From: KOENIG Yvan <email@hidden>)
 >Re: Alias Files (From: Luther Fuller <email@hidden>)
 >Re: Alias Files (From: KOENIG Yvan <email@hidden>)
 >Re: Alias Files (From: Philip Aker <email@hidden>)
 >Re: Alias Files (From: KOENIG Yvan <email@hidden>)

  • Prev by Date: Mail Script to move "not junk" back to inbox
  • Next by Date: Re: Alias Files
  • Previous by thread: Re: Alias Files
  • Next by thread: Re: Alias Files
  • Index(es):
    • Date
    • Thread