Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for a way to run an AppleScript after my 3G modem is successfully connected to the carrier.

The modem is using the standard OSX network panel to connect, so it's not using any crappy carrier software.

Around the web I've found a lot of people running stuff after the modem is connected but it seems to be sending AT command to the modem, and I don't want that. I want to launch an AppleScript on my computer.

share|improve this question
What is the modem type? – Buscar웃 Apr 22 '13 at 6:34
@Buscar웃 It's a USB 3G dongle modem from ZTE. – TCB13 Apr 22 '13 at 10:54
up vote 2 down vote accepted

Try ControlPlane. It lets you trigger various events, including launching scripts, based on various system events, including what networks you're connected to. I'm not 100% sure if it will read any network interfaces, or just the default ones, but it's free and probably worth a look.

share|improve this answer
It can detect the 3G modem, but no luck trying to detect when it's successfully connected to the network. – TCB13 Dec 10 '12 at 17:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.