MACSCRPT Archives

January 2006

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Mime-Version:
1.0
Content-Type:
text/plain; charset="iso-8859-1" ; format="flowed"
Date:
Tue, 17 Jan 2006 16:37:31 -0500
Reply-To:
Macintosh Scripting Systems <[log in to unmask]>
Subject:
From:
Bill Steele <[log in to unmask]>
In-Reply-To:
<p06230909bff2e165838e@[10.0.0.1]>
Content-Transfer-Encoding:
quoted-printable
Sender:
Macintosh Scripting Systems <[log in to unmask]>
Parts/Attachments:
text/plain (35 lines)
>At 12:25 pm -0500 17/1/06, Bill Steele wrote:
>
>>>>Is there a way for a script to identify the 
>>>>file selected in a Graphic Converter browser 
>>>>window?  Nothing obvious in the dictionary, 
>>>>and "selection-object" doesn't even compile.
>>>
>>>file in front window
>>>--=> file "...."
>>
>>Works if the file has been opened, but not if 
>>it's just selected in the browser window.
>>
>>Maybe I can work with that, though.
>
>I have no difficulty with it, here selecting two thumbnails in the browser:
>
>
>tell application "GraphicConverter" to ¬
>	selection in window 1
>--=> {file 
>"MacMini:Users:jd:Pictures:AUXERR_1.JPG", file 
>"MacMini:Users:jd:Pictures:auxerre_ca1960.jpg"}
>
>
>JD

That works.  Just needed the right syntax. Thanks.

(Don't remember what else I tried...)
-- 

Bill Steele
[log in to unmask]

ATOM RSS1 RSS2