View Single Post
Old 02-07-2007, 05:50 PM   #9
FourOhFour
HTTP Error
FourOhFour ought to be getting tired of karma fortunes by now.FourOhFour ought to be getting tired of karma fortunes by now.FourOhFour ought to be getting tired of karma fortunes by now.FourOhFour ought to be getting tired of karma fortunes by now.FourOhFour ought to be getting tired of karma fortunes by now.FourOhFour ought to be getting tired of karma fortunes by now.FourOhFour ought to be getting tired of karma fortunes by now.FourOhFour ought to be getting tired of karma fortunes by now.FourOhFour ought to be getting tired of karma fortunes by now.FourOhFour ought to be getting tired of karma fortunes by now.FourOhFour ought to be getting tired of karma fortunes by now.
 
FourOhFour's Avatar
 
Posts: 86
Karma: 3000000
Join Date: Oct 2006
Device: Kindle Paperwhite
Quote:
Originally Posted by fonix
Just wanted to give you kudos... I had been doing this by hand, and it took *forever*. I also learned a bit about scripting by looking at this, maybe I'll give it a go on some other projects. Thanks a ton!
Cool! I'm sorry I didn't comment it better now, didn't expect someone to actually try to read it. ;-)

Few things I've noticed since writing this: OS X's RTF generation (which this script uses) seems to sometimes create RTF files that the Reader cannot properly read. When this happens, it shows up as missing sections or garbage characters. Short of finding another way to convert HTML to RTF that is AppleScriptable (or a command line tool), there's nothing to be done about it.

PDFs, on the other hand, work fine. However, page turns get absurdly slow at higher page numbers.

Last edited by FourOhFour; 02-07-2007 at 05:52 PM.
FourOhFour is offline   Reply With Quote