I've had this posterous for a while, but as you can see, there hasn't been very much activity.
It's been partially because I just haven't had time. It might be because I've been working on a little script to automatically post these screenshots. But mostly, it's laziness. I'm really lazy.
Anyway, heres my little profile blurb:
For a long long time now, I've had this thing where I'd bookmark pretty sites. I can't help it. I have folders and folders of bookmarks of sites, most of which I never get back to. I figured I'd keep track of some of the better ones that I'd like to keep in mind.
I started off taking screenshots in
Paparazzi!, saving them to my desktop, and sending them through Gmail. Since that takes far too much effort, I've decided to work on a script that'll pull a screenshot of a website and email it to Posterous.
The Script and How It Works
I just finished the basics of the script tonight, so I won't post it just yet. I'll just talk a little about the parts of the script and how they kinda work.
The process is two very basic parts (soon to be three/four):
-
screenshotous.py - This script basically does three things:
- Get/save email credentials (Gmail username/password)
- Create the command to run the Applescript to have Paparazzi! capture the screenshot
- Take the image from #2, add a gray border using ImageMagick, and email it to post@posterous.com
-
screenshotous.scpt (gist link) - Applescript which basically calls Paparazzi! with a URL and a filename, and save the screenshot
Not terrible complicated (or at all :) What I plan to have next is:
- PHP page on my Mac to take a requests and run this python script so I can call this script through the browser
- The point of the above is to have a bookmarklet so that I can click on a bookmarklet and have the screenshot magically appear in my posterous!
But yeah, I thought I'd share a little of what's driving this posterous from now on. Enjoy!
Comments [1]