• 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: 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


  • Prev by Date: Re: Total Newbie question
  • Next by Date: startup script
  • Previous by thread: Re: Question about "info for" command
  • Next by thread: handle CGI Request - client address parameters - error and gotcha
  • Index(es):
    • Date
    • Thread