Re: Coercion question
Re: Coercion question
- Subject: Re: Coercion question
- From: "Marc K. Myers" <email@hidden>
- Date: Fri, 15 Jun 2001 16:58:18 -0400
- Organization: [very little]
>
Date: Fri, 15 Jun 2001 10:07:49 +0200
>
Subject: Coercion question
>
From: Jan Pieter Kunst <email@hidden>
>
To: Applescript lijst <email@hidden>
>
>
Hello all,
>
>
Is it possible to coerce this:
>
>
alias "Disk:Folder:File"
>
>
to this:
>
>
{file "File" of folder "Folder" of startup disk}
set x to (choose folder) -- just to get x set to an alias
tell application "Finder" to set y to item (x as text)
y will now contain a Finder reference to the file, folder, or disk
represented by x.
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[6/15/01 4:57:21 PM]