• 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: "Serge Belleudy-d'Espinose" <email@hidden>
  • Date: Thu, 14 Jun 2001 12:44:47 +0200

At 10:10 +0200 14/06/01, Jan Pieter Kunst wrote:

>tell application "Finder"
> set x to folder of (info for selection)
>end tell
>
>--> returns an error message??

'folder' is a finder word. So the error is that the finder doesn't understand how to make folder of something. You have to get the folder outside of the tell block:

tell application "Finder"
set xInfos to (info for selection)
end tell

set xFolder to folder of xInfos


Serge
--
\\//\//\// Serge Belleudy-d'Espinose Institut Jacques Monod
// // // http://www.ijm.jussieu.fr/ Univ. Jussieu - Paris
//\//\//\\


References: 
 >Question about "info for" command (From: Jan Pieter Kunst <email@hidden>)

  • Prev by Date: Re: Graphics Converter 4.0.8
  • Next by Date: Re: Script to copy changed files?
  • Previous by thread: Question about "info for" command
  • Next by thread: Re: Question about "info for" command
  • Index(es):
    • Date
    • Thread