Skip to main content
Known Participant
November 13, 2007
Question

setting Color Management parameters

  • November 13, 2007
  • 4 replies
  • 821 views
Hello

I'm writing my first Illustrator plugin (I've done several Photoshop plugins before so Iâm not completely ignorant of Adobeâs SDK architecture) and I have a few questions.

First, there doesnât seem to be a Listener/Getter so it seem that unless you can find the Suite you need, writing a plugin can be very difficult. Is this true?

My plugin needs to change the proof setup device profile as well as the rendering intent. I also need to check the âProof Colorsâ menu item in the View menu. And finally, I also need to set the Printer Profile and Rendering Intent in the Color Management section of the Print dialog.

Iâve looked at the Suites and I just donât see where to start. I just do not see the data that I need to access and modify.

Note: Iâve also looked at the scripting documentation as well as browsed the data in the ExtendScript Type Library. It does seem that the print options can be set from ExtendScript but not the proofing options.

Is there a way to programmatically set these values? If not, is there a way to programmatically record the user actions ala Listener/Getter?

Thank you.

Paul
This topic has been closed for replies.

4 replies

Participating Frequently
July 5, 2008
Have not heard of one either. Would like to know though.

http://www.directorygump.com
3DTOPO
Inspiring
November 18, 2007
Not sure about PC's but with Applescript you can call any menu in Illustrator (for this to work you must enable "Access for assistive devices" in the Universal Access System Preferences):

activate application "Adobe Illustrator"
tell application "System Events"
tell process "Adobe Illustrator"
click menu item "Customize..." of menu 1 of menu item "Proof Setup" of menu "View" of menu bar item "View" of menu bar 1
end tell
end tell

You can also do keystrokes, this will hit the enter key:

activate application "Adobe Illustrator"
tell application "System Events"
delay 1
keystroke return
end tell
Known Participant
November 15, 2007
I need both eventually, Mac first.

I've checked out the Javascript manual, it doesn't seem possible to do it that way.
3DTOPO
Inspiring
November 15, 2007
Is your solution for a Mac, PC or both?

I do not know of a "Listener".