Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resolving alias to unmounted volume



Thanks for the help, it sure is a dissappointment (A lot of people could use this), but now I know, I can work around it.
I think I'll do the resolving in carbon actually.


... OK, I did it, here's a unix command line executable that resolves an alias, I can call it from my script:

http://homepage.mac.com/torl/Sites/resolvealias.zip

tor

On 28 Oct 2005 , at 01:56, Dave Lyons wrote:

I think the short answer is No. The only similar request (for Finder) outstanding in Radar is #2435422, asking for a way to get the "path" of an alias file, even if it's broken and cannot be resolved.

If your alias is not broken, and you know it refers to a folder or disk, then you can ask the Finder to "open" the alias, and then "close Finder window 1" if you didn't want it open. At that point, the disk is mounted and the "original item" property can do its job.

If your alias refers to a file, the above probably doesn't help you.

On Oct 26, 2005, at 5:45 PM, Tor Langballe wrote:


Is there still no way to do this??

if i try

get original of file <alias>

it doesn't work if the alias is to something that isn't mounted yet.
I could double click the file in finder no problem and it would mount...





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden
References: 
 >Resolving alias to unmounted volume (From: Tor Langballe <email@hidden>)
 >Re: Resolving alias to unmounted volume (From: Dave Lyons <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.