Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Shane Stanley <email@hidden>
- Date: Thu, 30 Nov 2006 15:12:47 +1100
- Thread-topic: (no subject)
On 30/11/06 2:02 PM, "Matthew Finlay" <email@hidden> wrote:
> I am quite new at using Applescript.
Welcome.
>
> 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...
That's because scripting is like a separate interface; how you do things is
different from how you do them in the UI. You need to think in terms of the
various objects, and what you want to do to them.
>
> 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...
Right.
>
> 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...
That's, sadly, not available in the scripting interface. You can get the
name of the color management settings via the "color settings" property of
the application.
(You can get what you want via InDesign, BTW.)
> 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???
You generally don't want to get to checkboxes and pop-up menus. Study the
dictionaries, read the documentation and sample scripts, hunt down other
examples, and ask questions.
--
Shane Stanley <email@hidden>
_______________________________________________
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>) |