Re: Graphic Converter - Set Resolution + RGB
Re: Graphic Converter - Set Resolution + RGB
- Subject: Re: Graphic Converter - Set Resolution + RGB
- From: email@hidden
- Date: Sat, 22 May 2004 19:22:07 -0500
On May 21, 2004, at 11:05 AM, Thierry Lavallie wrote:
1-Anyone knows how I can tell Graphic Converter to set the resolution
of an
image to 72dpi and RGB using AS?
Assuming the image is opened in GraphicConverter's first document
window:
change resolution of window 1 to {72, 72}
set color space of window 1 to rgb
The AppleScript dictionary for GraphicConverter explains these commands
in more detail. To view it: open Script Editor, click the File menu,
choose 'Open Dictionary', and select GraphicConverter. The 'color
space' property is listed under the 'window' class of the Standard
Suite.
Note: GraphicConverter might show an informational dialog when opening
images that have an unsupported color space, such as CMYK. This dialog
can prevent subsequent AppleScript commands from executing. I don't see
an option in GraphicConverter for suppressing these dialogs. I suppose
one could use a 'delay' command to give the user time to manually
dismiss the dialog, but that's a lousy work-around. Hopefully there's a
better one.
-Chris Griffith
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.