Re: Question about "info for" command
Re: Question about "info for" command
- Subject: Re: Question about "info for" command
- From: Ken Dobson <email@hidden>
- Date: Fri, 15 Jun 2001 17:47:01 -0400
on 6/15/01 12:25 AM, email@hidden at
email@hidden wrote:
>
Pier Kuipers (email@hidden) schreef op 14-06-2001 22:49 :
>
>
> 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
>
>
>
Nice try ... but that also returns "true" if the selected item is a disk.
>
>
JP
Why not by pass the info for command and try this...
tell application "Finder"
set x to container of selection
end tell