Re: Automating Photoshop CS4?
Re: Automating Photoshop CS4?
- Subject: Re: Automating Photoshop CS4?
- From: Bill Cheeseman <email@hidden>
- Date: Wed, 24 Mar 2010 05:55:28 -0400
On Mar 23, 2010, at 10:10 AM, <email@hidden> <email@hidden> wrote:
> Just curious if there's any way to automate Adobe Photoshop CS4 with Cocoa/Objective-C? I'm new to this language. I know I can call NSAppleScript, but was just curious if there's another way to control the application?
Use the accessibility API and Quartz event taps. They are designed to be used by "assistive" applications that help persons with disabilities use the computer, but they have many other uses. The "assistive" functions of the accessibility API are documented in "Accessibility (ApplicationServices/HiServices) Reference" and the event taps functions in "Quartz Event Services Reference." To see what you can do with them, download the free 30-day trial version of my PreFab UI Browser application and my free Event Taps Testbench utility at <http://prefabsoftware.com/>.
--
Bill Cheeseman
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden