• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Coercion question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
//\//\//\\


References: 
 >Coercion question (From: Jan Pieter Kunst <email@hidden>)

  • Prev by Date: Re: Total Newbie question
  • Next by Date: Re: Coercion question
  • Previous by thread: Re: Coercion question
  • Next by thread: Re: Coercion question
  • Index(es):
    • Date
    • Thread