Re: Posix path to alias...
Re: Posix path to alias...
- Subject: Re: Posix path to alias...
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 17 Dec 2002 13:27:33 -0800
On 12/17/02 2:07 PM, "julifos" <email@hidden> wrote:
>
Hi all!
>
>
Any *quick* or *magic* way to turn a posix path into an alias (better than
>
get name of disk, set tids to blahblahblah and so on...)?
>
>
eg: /Users/me/Desktop/file.txt
>
to: alias "HD:Users:me:Desktop:file.txt"
>
POSIX file "/Users/me/Desktop/file.txt"
will compile immediately without even running it. Of course it will compile
even if it's a non-existent file , since the result is just a file
specification. So:
POSIX file "/Users/me/Desktop/file.txt" as alias
will get you the actual file (or error if it doesn't exist).
--
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.