Re: Capturing content programatically
Re: Capturing content programatically
- Subject: Re: Capturing content programatically
- From: Achint Sandhu <email@hidden>
- Date: Mon, 21 Sep 2009 12:47:41 -0400
Thanks to everyone for the prompt response.
I'll proceed with the NSAppleScript approach as I'd originally planned.
Cheers,
Achint
On 2009-09-21, at 12:36 PM, Mike Abdullah wrote:
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 (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
_______________________________________________
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