Re: Info for
Re: Info for
- Subject: Re: Info for
- From: Yvan KOENIG <email@hidden>
- Date: Thu, 16 Apr 2009 16:39:38 +0200
Le 16 avr. 2009 à 15:40, Michelle Steiner a écrit :
This works:
info for file "Dora:Users:michelle:Desktop:LD.gif"
So does this:
info for alias "Dora:Users:michelle:Desktop:LD.gif"
This fails, as it should:
info for "Dora:Users:michelle:Desktop:LD.gif"
This, however, returns info about the startup disk:
info for "/Users/michelle/Desktop/LD.gif"
And these say the file wasn't found:
info for alias "/Users/michelle/Desktop/LD.gif"
info for file "/Users/michelle/Desktop/LD.gif"
It's a normal behavior
Standard Addition is unable to get info for an HFS string
It is able to get info for an Unix string
The system is unable to build an alias or a file reference from an
Unix string.
file "/Users/yvan_koenig/Desktop/"
compiles as it doesn't check for the availabitity of the described
folder
alias "/Users/yvan_koenig/Desktop/"
Under 10.4.11, doesn't compile because the system is unable to find
the described file.
I wrote "the system" but in fact, I don't know if the owner of "file"
and "alias" items is the system or if it is AppleScript.
We may wish enhancements on alias and file points bringing more
consistency but I would be surprised if something was changed in the
behavior of infor for itself.
Yvan KOENIG (from FRANCE jeudi 16 avril 2009 16:39:33)
_______________________________________________
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: | |
| >Info for (From: Michelle Steiner <email@hidden>) |