Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Caezar

macrumors 6502
Original poster
Note: I initially posted this message on the Google group comp.lang.python, as I initially intended to write the program in Python. I post it again on this forum, to submit my question to Applescript programmers

I am by no means a serious programmer (which will become evident as you
read this very message), except that I use VBA almost daily to automate
Excel spreadsheets.

I do enjoy programming however and the only thing that prevented me
from learning a language other than VBA is the lack of a project. Until
today, I was not sure what I would do if I knew how to program in a
language such as Applescript.

I now feel the need to develop a small program for myself. I have a
free subscription to Factiva (http://www.factiva.com), which gives me online
access to virtually all newspapers, magazines, etc. using a normal
internet browser.

The bad thing is that I can only access the articles one by one. I wish
I could write a program that would:
- prompt me to choose a publication (let's say The Economist),
- find the latest publication,
- download automatically all the articles in that edition and finally
- combine and format the articles in a single Word document.

This way, I will be able to print the magazine and read it on my way to
the office.

Can I use Applescript to automate this task?
 

mduser63

macrumors 68040
Nov 9, 2004
3,042
31
Salt Lake City, UT
Yes, you can do it in AppleScript (no need for Automator), but it's going to be difficult. It'll be especially difficult if Factiva doesn't have an interface to their website that's easily accessible programmatically, because you'll have to parse html (or whatever) to get your data, and that's kind of nasty.
 

Caezar

macrumors 6502
Original poster
Thanks for your responses. I realize that this undertaking is probably beyond my skills. :eek:

The good news is that after going through Factiva's technical documentation (which I should have done in the first place), I found that it offers a way to compile all the articles from a publication for a given date, through their search engine.

I can even save all the articles in one single document under the PDF or RTF formats. The only downside is that the resulting documents contain as many as 200 pages for one edition of The Economist.

I will now focus on using Applescript to:
- open the RTF file in Text Edit,
- reduce the font size
- remove page breaks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.