Hi All, I am working on a script using Graphic Converte to swap out white (255, 255, 255) with a light yellow (255, 253, 250). I just can’t seem to get graphic converter to do it. Here’s the script I have working so far…
set blah to choose file
try
tell application “GraphicConverter”
silentopen blah
delay 2
tell window 1
swap colors color {255, 255, 255} with {255, 254, 250}
end tell
– close window 1
end tell
on error errmsg
display dialog errmsg
end try
It opens up the selected file and doesn’t give any errors…
Here’s the event log:
tell current application
choose file
alias “MyMac:Users:ctan:Desktop:2rgb.tif”
end tell
tell application “GraphicConverter”
silentopen alias “MyMac:Users:ctan:Desktop:2rgb.tif”
swap colors window 1 color {255, 255, 255} with {255, 254, 250}
0
end tell
I’v also tried to use these swap color format with no luck.
swap colors color "000000" with "FFFF00"
swap colors color "#000000" with "#FFFF00"
swap colors color "white" with "yellow"
Does anybody know how to declare colors in RGB for Graphic Converter?
Thanks
Chris