On 19 Sep 2009, at 16:09, Achint Sandhu wrote:
Hi,
Is there a way to programatically capture content from different
applications in osx. 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.
There's your answer. To target AppleScript from a Cocoa app use the
Scripting Bridge or NSAppleScript.
I'm essentially trying to do something similar to the way
eaglefilter captures web pages and other content (the F1 trick).
I've tried searching google, but I suspect I'm probably using the
wrong search string / keywords.
Any pointers would be greatly appreciated.
Thank You.
Cheers,
Achint
_______________________________________________
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/cocoadev%40mikeabdullah.net
This email sent to cocoa...@mikeabdullah.net
_______________________________________________
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