Larry Hamel - 2011-04-17

A keyboard shared with a PC at home, a keyboard for OS X at work: what's a laptop to do? Switch automatically, please…

http://codegilt.blogspot.com/2011/04/pc-keyboard-for-mac-applescript-for.html   contains applescript for enabling/disabling (checking/unchecking) the swapping of Command and Option keys, and info on how this can be done automatically via Location.

Thanks for the DoubleCommand panel, Michael!