Air Assistant is a little utility for Mac OS X wich (will) allow you to associate some events (only to lauch an application for instance) to a SSID (a Wifi network name).