Auto twitter SMS on/off
Jul 20th, 2007 by jbloom
So I’ve spent a little more time thinking about this and have decided this utility would be better as a server utility that sits out in the cloud and monitors for my computer activity. If it doesn’t see activity for some set period it notifies twitter to re-enable SMS messages.
This takes care of any issues with me shutting down or closing my laptop/computer before my notifier can get its message out.
I’m thinking a python script, called by cron that checks for an indication that I’m active on my computer, if it doesn’t see the indication after some number of tries it turns SMS notifications on. That part seems pretty solid, what should I use on the laptop to signal my presence? If this was a Windows machine I’d be off and running but I’ve recently switched to a Mac and I don’t know the platform very well. Instant messenger sounds like something to tap into as it already has the concept of active/idle built into it, but I’m using Adium and it seems like Adium plug-ins are written in Objective-C which is totally foreign to me.
I think it’s time for some googling…