Re: Question about "info for" command
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
//\//\//\\