Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Copying Safari (or firefox) activity viewer with a program

Jun 27, 2009 7:49AM PDT

I'm trying to create a program that watches the activity monitor in safari or firefox for changes and flags them. I've had some success with this manually (that is using a screen shot and OCR), but this is a long, tedious, and error prone approach.

I was wondering how I could have the computer just copy the activity page into a text file, and then I could process the textfile and send a command back, flagging (most likely downloading) the additional content.

General summary:

-how do I get the computer (say from command prompt / terminal) to 'see' the contents of the activity log
-then I'm assuming that I can just copy the offending url from the text file and I can flag/download it

I'm working in command prompt for now, but I know C, C++, php, and java if a program written in one of those languages would be better able to handle my task. Also, I wouldn't be adverse to learning a new language if any of you think it would help.


Thanks!!

Discussion is locked