On Sep 19, 2009, at 8:09 AM, Achint Sandhu wrote:
Is there a way to programatically capture content from different applications in osx.
Not in general. It depends on how scriptable the application is.
As an example, I'd like to be able to get a webarchive of the current web page being displayed in safari. I know this can be done with applescript, but I'm not sure how to go about doing this in cocoa/obj-c.
Look at the Scripting Bridge, or NSAppleScript. —Jens_______________________________________________ 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