• 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: Question about "info for" command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about "info for" command


  • Subject: Re: Question about "info for" command
  • From: Pier Kuipers <email@hidden>
  • Date: Thu, 14 Jun 2001 21:49:26 +0100

At 16:54 +0200 14/6/01, Jan Pieter Kunst wrote:
>Pier Kuipers (email@hidden) schreef op 14-06-2001 15:14 :
> > tell application "Finder"
>> set x to (folder of selection) as alias
>> end tell
>> or
>> tell application "Finder"
>> set x to (folder of selection)
> > end tell
>
>Yes, but the "folder" property of "info for" something is a boolean: true if
>something is a folder, false otherwise. I was looking to get that boolean,
>not the "folder" of the Finder, which returns a path/alias (not sure of
>terminology) to a folder.

I know you're trying to end this thread, but just one last option:

tell application "Finder"
if last character of ((selection as alias) as text) is ":" then
set IsFolder to true
else
set IsFolder to false
end if
end tell

Pier.
--
Pier Kuipers
Visual ID
* the Media Asset Management solution *

2 Whitefriars
Aungier Street
Dublin 2
Tel. +353 1 476 7059
Mobile +353 87 294 3063
Fax +353 1 478 1366
ISDN +353 1 602 0754

http://www.visualid.com


  • Follow-Ups:
    • Re: Question about "info for" command
      • From: Jan Pieter Kunst <email@hidden>
References: 
 >Re: Question about "info for" command (From: Jan Pieter Kunst <email@hidden>)

  • Prev by Date: moving files from folder when updated!
  • Next by Date: Re: Question about "info for" command
  • Previous by thread: Re: Question about "info for" command
  • Next by thread: Re: Question about "info for" command
  • Index(es):
    • Date
    • Thread