• 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: Graphic Converter - Set Resolution + RGB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Graphic Converter - Set Resolution + RGB (From: Thierry Lavallée <email@hidden>)

  • Prev by Date: Re: Variable renaming and managing a folder
  • Next by Date: Re: Disabling Rendezvous (cats and bugs)
  • Previous by thread: Re: Graphic Converter - Set Resolution + RGB
  • Next by thread: GUI scripting in Quark
  • Index(es):
    • Date
    • Thread