You will also have to enter something like the following in ~/.netrc:#!/usr/bin/env bash curl --netrc --data status="$*" http://twitter.com/statuses/update.xml
Then call the tweet script from AutoHotKey.machine twitter.com login royalsong password yourpassword
tweet "testing..." and hit return. Your twitter status should change.tweet "I'm away from my keyboard for a moment"
Save, close, and double-click it. A command window will open up, do some stuff, then close. Your twitter status will change.tweet "I'm back!"
!a::
Run, tweet "I'm away"
return
Also, here is a Tutorial for autohotkey.#space::run tweet "Away from keyboard"
#+space::run tweet "Back at keyboard"
Save and double-click it. An "H" icon will appear in your system tray.You are not logged in, either login or create an account to post comments
posted by o0dano0o at 6:42 AM on April 22