• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Capturing content programatically
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Capturing content programatically (From: Achint Sandhu <email@hidden>)
 >Re: Capturing content programatically (From: Mike Abdullah <email@hidden>)

  • Prev by Date: Re: Class for external monitor?
  • Next by Date: Re: Architecture for concurrent network client
  • Previous by thread: Re: Capturing content programatically
  • Next by thread: Class for external monitor?
  • Index(es):
    • Date
    • Thread