• 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
Coercion question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Coercion question


  • Subject: Coercion question
  • From: Jan Pieter Kunst <email@hidden>
  • Date: Fri, 15 Jun 2001 10:07:49 +0200

Hello all,

Is it possible to coerce this:

alias "Disk:Folder:File"

to this:

{file "File" of folder "Folder" of startup disk}

Reason: I can ask for 'class of item 1 of' the second form, and get
"folder", "document file", etc., regardless of OS language (thanks JJ). With
the alias, I can ask for 'kind of' the alias, and get the kind as reported
in the Finder 'kind' column, which is language-specific and, in the case of
documents, too detailed for my use. I just want to know if something is a
document or a folder.

So I was thinking: if I can coerce the alias to the second form (don't know
what it's called), I can get the 'class' of the item. Or is there a way to
get the 'class' of an alias directly somehow?

Thanks,
JP


  • Follow-Ups:
    • Re: Coercion question
      • From: Paul Berkowitz <email@hidden>
    • Re: Coercion question
      • From: Pier Kuipers <email@hidden>
    • Re: Coercion question
      • From: "Serge Belleudy-d'Espinose" <email@hidden>
    • Re: Coercion question
      • From: Hugh Dixon <email@hidden>
    • Re: Coercion question
      • From: Hugh Dixon <email@hidden>
  • Prev by Date: Coercion question
  • Next by Date: Fwd: [PR] 24U Appearance OSAX DE 1.1.1
  • Previous by thread: Re: Coercion question
  • Next by thread: Re: Coercion question
  • Index(es):
    • Date
    • Thread