Re: Capturing content programatically

2009-09-21 Thread Achint Sandhu
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 di

Re: Capturing content programatically

2009-09-21 Thread Mike Abdullah
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, b

Re: Capturing content programatically

2009-09-21 Thread Randall Meadows
On Sep 19, 2009, at 9:09 AM, 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,

Re: Capturing content programatically

2009-09-21 Thread Jens Alfke
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 di

Capturing content programatically

2009-09-21 Thread Achint Sandhu
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 co