Re: "create icon" command in GraphicConverter
Re: "create icon" command in GraphicConverter
- Subject: Re: "create icon" command in GraphicConverter
- From: "Marc K. Myers" <email@hidden>
- Date: Fri, 08 Jun 2001 10:56:42 -0400
- Organization: [very little]
>
Subject: Re: "create icon" command in GraphicConverter
>
Date: Thu, 7 Jun 2001 20:09:46 -0700
>
From: Michelle Steiner <email@hidden>
>
To: "Jan Pieter Kunst" <email@hidden>, "Applescript lijst"
>
<email@hidden>
>
>
On 6/7/01 12:44 PM, Jan Pieter Kunst <email@hidden> wrote:
>
>
>Does anyone have an example of a working Applescript snippet with the
>
>"create icon" command for GraphicConverter? According to the
>
>GraphicConverter dictionary, "create icon" should create a custom icon for a
>
>file. I can't find the correct syntax to use with this command.
>
>
tell application "Finder"
>
set the selectedFile to item 1 of the selection as alias
>
end tell
>
tell application "GraphicConverter"
>
create icon the selectedFile with preview and sharpen
>
end tell
I tried to test this approach and it appeared to complete normally, but
no custom icon was created. I expanded on it like this:
set theFile to (choose file) as text
tell application "GraphicConverter"
create icon theFile with preview and sharpen
quit
end tell
tell application "Finder"
activate
update container window of the desktop
end tell
Everything ran to completion, but still no custom icon.
Mac OS 9.1, AS 1.6, GraphicConverter 4.0.4
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[6/8/01 10:56:13 AM]