Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Carlos Ysunza <email@hidden>
- Date: Thu, 30 Nov 2006 19:51:30 -0600
- Thread-topic: (no subject)
Title: Re: (no subject)
Hi Matthew,
You can not get the description of the color settings, but I use some work around
I have many saved color settings and I know the configuration of each one, so you can for example:
Tell application “Adobe Photoshop CS2”
set cs to color settings --> “the name of the active color settings”
Set n to make new document
Tell n to set cpn to color profile name of it
End tell
{cs, cpn}
--> {“ColorSynk Workflow”, “Adobe RGB (1998)”}
Even you can set this with
set color settings to “Name of your color settings”
You can get a lot of information about scripting Photoshop in
AppleScript Photoshop Reference Guide.pdf
And
Photoshop Scripting Guide.pdf
This PDF documents are part of the documentation that came with the CS suite or you can get it from adobe’s web site
I hope this help you to as start point...
cheers
--
Carlos Ysunza
Director
SoftRobot Automated Workflows
http://www.softrobot.com.mx
email@hidden
From: Matthew Finlay <email@hidden>
Date: Thu, 30 Nov 2006 14:02:07 +1100
To: <email@hidden>
Subject: (no subject)
Hi All...
I am quite new at using Applescript.
My problem is that i can't seem to figure out how to interact with many of the functions in the menu bar in the Adobe CS2 range (mainly photoshop and Indesign)... I can not find a lot of these functions in the dictionary/scripting guide/Reference or they are only mentioned indirectly...
I have figured out how to do some of it using UI scripts but this is not ideal... I do not like windows popping up and then closing everywhere...
To give an example of one of the problems i am having:
I am trying to make a script that will get the name of the CMYK working space profile in photoshop...
I'm probably just dyslexic but the only way i can figure out how to do this so far is through UI elements
-- This is not the real script just the general idea
open up the window "Color Settings"
get the value of pop up button 8
This is probably not the best example as the CMYK working space is mentioned in the dictionary as "Working CMYK" but what about other stuff like changing your "ask when pasting" option??
Any help or examples that anyone can give me would be greatly appreciated but I guess my real question is how/where do you find information on how to communicate with software functions (especially checkboxes and pop up menus) that cannot be found in the dictionary???
Can you write a script to obtain this information???
Thank you...
Matt
_______________________________________________
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/mailman//archives/applescript-users
This email sent to email@hidden
References: | |
| >(no subject) (From: "Matthew Finlay" <email@hidden>) |