Using Growl to execute actions based on wireless network

The Growl forums have moved to Google Groups, this forum is read only.
Locked
Muriac
Harmless
Posts: 15
Joined: Fri Sep 16, 2005 7:41 pm

Using Growl to execute actions based on wireless network

Post by Muriac »

I've been looking for a solution to the following problem for a while:

I regularly use three different wireless networks, and each one is connected to a different ISP with a different outgoing mail server. Additionally, one of the networks requires that I launch Cisco's VPN Client and connect in order to gain internet access. I have to manually change Mail's outgoing server every time I switch networks, or it tries the wrong one first. I have to launch VPN Client manually, and I have to quit it manually if I don't want to see it complain about losing contact when I switch networks again.

None of this should require any of my input. I don't understand why a system for automating (at the very least) smtp server switching based on wireless network isn't integrated into OS X. However, it isn't, and so I've been looking for another solution.

HardwareGrowler does the first step. What needs to happen next is for the SSID to be passed on to a script that changes my outgoing mail server, or launches VPN, or whatever based on that SSID. Can any "display style" do things like email, etc.? If that's the case, then all I need to do is make one to do what I want.

How should I go about this?
User avatar
Diggory
Growl Team
Posts: 129
Joined: Sat Dec 04, 2004 12:17 pm
Location: London

Post by Diggory »

Growl's not really an automation system - just notifications.

Perhaps you might find these useful:

http://homepage.mac.com/locationmanager/

http://www.macosxhints.com/article.php? ... 1#comments
Muriac
Harmless
Posts: 15
Joined: Fri Sep 16, 2005 7:41 pm

Post by Muriac »

Diggory wrote:Growl's not really an automation system - just notifications.

Perhaps you might find these useful:

http://homepage.mac.com/locationmanager/

http://www.macosxhints.com/article.php? ... 1#comments


Thanks for the link to Location X: I'm trying it out right now, and it seems to do what I want.
Locked