May 22, '03 09:14:00AM • Contributed by: Anonymous
tell application "internet connect" (connect)/(disconnect) end tellUsing iKey, set the key to launch this script to whatever you want -- I used the Command-F13. When pushed, it automatically connects to the internet for you. The only problem I have found is that it opens the application Internet Connect. If you're like me, and don't like a bunch of applications open in the dock that are pretty useless, it's kind of irritating. Maybe someone could find the command for the little phone thingy in the status bar. That way it wouldn't open anyhting.
[robg adds: I don't have a dial-up account to test this with, but I would think adding "quit" just above the "end tell" would connect to the net and then quit the Internet Connect app -- that's just a guess, though...]
