Re: Question about "info for" command
Re: Question about "info for" command
- Subject: Re: Question about "info for" command
- From: Jan Pieter Kunst <email@hidden>
- Date: Fri, 15 Jun 2001 00:19:33 +0200
JJ (email@hidden) schreef op 14-06-2001 18:49 :
>
tell application "Finder"
>
set theitem to item 1 of the selection
>
class of theitem
>
end tell
That's a good one. Better than using 'kind of theitem' because 'kind'
returns an OS-language specific string: '"folder"' in an English system,
'"map"' in a Dutch system, whereas 'class' always returns 'folder'. Thanks!
JP