Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A script to selectively enable accounts in Mail' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A script to selectively enable accounts in Mail
Authored by: Anoble on Mar 24, '05 12:43:13PM

Does anyone here have the knowledge to program a script that will check your location setting and toggle an email account offline/online based upon the name of the location?

When at work, I use a location named "Work" which is ethernet, DHCP and inside the LAN. I'd like a Mail exchange account to be toggled on then.

When at home, the "Home" location is wireless, DHCP and not inside the LAN (w/o a VPN connect). I'd like the exchange account toggled offline then.

This script comes close, but I have no ability to get it to where it needs to be.

Any help would be greatly appreciated.

A



[ Reply to This | # ]