On Tue, 23 Mar 2010 14:10:20 +0000, <jyoun...@kc.rr.com> said: >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?
You can use Apple events without resorting to the AppleScript language, and it's a lot more convenient. I use the Objective-C version of appscript for this sort of thing. There's a "book" at my Web site with extensive examples using appscript from Ruby to control InDesign; you'll find that a lot of what it says transfers very easily to Objective-C and Photoshop. m. -- matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.tidbits.com/matt/default.html#applescriptthings _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com