Color Setting in Photoshop
Color Setting in Photoshop
- Subject: Color Setting in Photoshop
- From: Steven Valenti <email@hidden>
- Date: Fri, 5 Mar 2004 15:36:41 -0500
After placing my new script on several CPUs, I found one machine would
error every time it came to fill selection. I found that if the last
color manually chosen in Photoshop was a custom color instead of a
color chosen from the picker it caused the error. Obviously I need to
make sure the setting is not on custom. Does anyone know how to set the
color so the following script won't error?
Thanks
tell application "Adobe Photoshop 7.0"
activate
make new document
select all of current document
--need to set color to picker
fill selection of current document with contents {class:RGB color,
red:177, green:125, blue:43} --error here
end tell
I'm using:
OSX 10.2.8
Photoshop Scripting support 7.4.1
Script is working in an RGB document.
_______________________________________________
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.