The Kindle supports Mobipocket files directly. You don't need to write a script to do that.
Hack let you convert encrypted Mobipocket files that were intended for another reader so that that work on Kindle.
Use Mobipocket software to convert PDFs to that format so you can read them on Kindle.
Think about waiting somewhere in the middle of the day, or perhaps in an airport while you're traveling, and having immediate access to 100,000 books and hundreds of newspapers and periodicals from this pad in your hand.
A revolutionary portable reader that wirelessly downloads books, newspapers, magazines and blogs to a crisp, high-resolution electronic paper display that looks and reads like real paper, even in bright sunlight.