RE: INDESIGN: Mapping UI Color Constants to RGB
RE: INDESIGN: Mapping UI Color Constants to RGB
- Subject: RE: INDESIGN: Mapping UI Color Constants to RGB
- From: Rick Gordon <email@hidden>
- Date: Sat, 30 May 2009 13:19:57 -0700
Ultimately, I made a screen capture of the menu, measured the swatches in Photoshop, and built the name list and RGB value lists. The rest was easy.
------------------
On 5/29/09 at 10:20 PM -0700, Rick Gordon wrote in a message entitled
"INDESIGN: Mapping UI Color Constants to RGB":
>While writing a script to replace guides with lines, I realized that the guide colors, with the exception of custom colors, are enumerated as constants (light blue/red/green/blue/yellow/magenta/cyan/gray/ ... etc.) without RGB values accessible by scripting. My intention with this script was, among many other things, to place a line at the coordinates of each guide which would have the color of the guide that it would be standing in for.
>
>I realize that I could build a lookup table for each of the colors -- there are 37 in ID CS3 -- and go that route, but I wanted to double-check for the possibility of a less cumbersome approach.
--
___________________________________________________
RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________________
WWW: http://www.shelterpub.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden