Re: POSIX file weirdness
Re: POSIX file weirdness
- Subject: Re: POSIX file weirdness
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 13 Mar 2003 23:00:40 -0800
On 3/13/03 10:08 PM, "Steve Roy" <email@hidden> wrote:
>
Consider this snippet.
>
>
tell application "Finder"
>
application file id "Crtr" as string as POSIX file
>
end tell
>
--> file ":.:Pretty/Applications/Creator 6 Folder/MultiAd Creator"
>
>
What is this? Am I doing something wrong?
tell application "Finder"
POSIX path of (application file id "Crtr" as alias)
end tell
[Note the 'of'.]
POSIX file is for going the other direction - from Unix to standard
AppleScript - it compiles to it without even needing to run it.
POSIX file "/Volumes/Apps HD/Applications (OS X)/Microsoft Office
X/Microsoft Entourage"
[Note no 'of'/]
compiles to
file "Apps HD:Applications (OS X):Microsoft Office X:Microsoft Entourage"
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.