• 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: Mike Abdullah <email@hidden>
  • Date: Mon, 21 Sep 2009 17:36:18 +0100


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


  • Follow-Ups:
    • Re: Capturing content programatically
      • From: Achint Sandhu <email@hidden>
References: 
 >Capturing content programatically (From: Achint Sandhu <email@hidden>)

  • Prev by Date: Re: getting started on bindings => problems with NSMutableArray - NSArrayController - NSTableView
  • Next by Date: Re: /Library/Preferences Writable By Everyone
  • Previous by thread: Re: Capturing content programatically
  • Next by thread: Re: Capturing content programatically
  • Index(es):
    • Date
    • Thread