I’ve been using the little MTN black box (Huawei E220 USB modem) for my internet connection for a while now (Vincent Maher put up a brief posting showing just how easy it is to setup under OSX). My only major gripe with it is that I have to use the trackpad/mouse to go and click on the taskbar and then on the “Connect” or “Disconnect” option. This usually breaks my flow state and is an irritation to anyone who would prefer to use the keyboard to connect and disconnect.
Thankfully this problem is solved with a smidgen of Applescript that is launched via Quicksilver.
Open up “Script Editor” and copy the following snippet and save it as “connect”
tell application "Internet Connect"
launch
connect
quit
end tell
Then save this snippet as “disconnect”
tell application "Internet Connect"
launch
disconnect
quit
end tell
Now the next time you want to connect just launch Quicksilver and start typing “connect” and hit “Enter” to start your dialup! This tip should also work for any instance where you use “Internet Connect”.
Tags:applescript dialup osx quicksilver