Re: Coercion question
Re: Coercion question
- Subject: Re: Coercion question
- From: "Serge Belleudy-d'Espinose" <email@hidden>
- Date: Fri, 15 Jun 2001 13:13:26 +0200
At 10:07 +0200 15/06/01, Jan Pieter Kunst wrote:
>
Is it possible to coerce this:
>
>
alias "Disk:Folder:File"
>
>
to this:
>
>
{file "File" of folder "Folder" of startup disk}
>
I just want to know if something is a
>
document or a folder.
Do you just want to know if something is a folder or not ? if so, you can coerce the alias to a string and get the final character, ":" or not. You don't even need to do this in a tell app "finder" block.
Serge
--
\\//\//\// Serge Belleudy-d'Espinose Institut Jacques Monod
// // //
http://www.ijm.jussieu.fr/ Univ. Jussieu - Paris
//\//\//\\