GitHub repository: shawnstephens/undock
Description: This applescript undocks all ejectable disks and turns on the airport wireless networking. It is useful when "undocking" from a thunderbolt display.