Re: Open Bugs
Re: Open Bugs
- Subject: Re: Open Bugs
- From: Luther Fuller <email@hidden>
- Date: Fri, 20 Jan 2012 10:31:25 -0600
On Jan 19, 2012, at 1:53 PM, KOENIG Yvan wrote:
> Le 19 janv. 2012 à 18:53, Luther Fuller a écrit :
>
>> There are some odd things happening in this script, however.
>> The line (fileAlias as text) as alias cannot be written as two lines.
>> If you do that, neither of the lines will error.
>> And I haven't the slightest idea why the posix/colon path is there. It just is.
>
> As far as I know, the Unix path which you got is the path of the alias's parent (original) which you may see if you type cmd + I after selecting the alias's icon.
Yes. The Info window of an alias file contains a posix path which is shown as "Original:". It is always there, even if the original item described by the path is missing. I would like to get this posix path, so I looked at various dictionaries for a way to do that. It just isn't there !!!!
The Finder's 'original item' property errors if the original item file does not exist.
System Events has no command which will return this property.
Even StandardAdditions 'info for' command (which is deprecated) does not return this information.
I also tried 'do shell script "mdls "&(quoted form of (posix path of ... )) ', but that info isn't there.
I know the information I need for an alias file is there, but how do I get it?
_______________________________________________
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