How to use a Microsoft keyboard with your Mac
Posted in Apple Script, Mac OS X, Personal Productivity, QuicksilverUsing a Microsoft keyboard with a MacBook is possible but has one major drawback: The “Option” and “Command”-keys are exchanged and called “Windows” and “Alt”-keys.
Fortunately swapping the keys so that the “Command” and “Option”-keys are in the same location like on an Apple keyboard is very simple:
- Open your “System Preferences”
- Select “Keyboard & Mouse”
- Select the “Keyboard”-tab
- Click on “Modifier Keys…”
In the resulting dialog map the Option Key to “Command” and vice versa. This is a screenshot made with Tiger, the dialog in Leopard looks a little bit different:

Voila – that’s it. Now the Microsoft keyboard should behave just like an Apple keyboard.
Now, for one additional problem (if you are still using Tiger or before):
I am using my MacBook Pro in my office, so I’m frequently connecting and disconnecting my keyboard. Since my external keyboard is an ergonomic keyboard with Microsoft keys I would have to change those settings each and every time I connect or disconnect the keyboard. This is only the case if you’re still using Tiger or before, because in Leopard you can set the keys for each keyboard type as shown in this screenshot: Keyboard settings in Leopard
One solution is an AppleScript, which I found on the following website:
Change keyboard modifier keys automatically on OSX with Applescript
Now I have a Quicksilver Trigger to execute this Applescript, which makes the swapping of the “Command” and “Option”-keys quick and painless!

May 28th, 2008 at 9:33 pm
Hello,
I’m trying to install my microsoft internet keyboard but it doesn’t work. It’s linked with a USB-PS/2 adaptator. I installed the driver “microsoft intellitype pro” and when I connect my keyboard, it doesn’t work.
How can I do ?
Thanks
May 26th, 2009 at 2:13 pm
HOw do I get my CD drive to open? I’ve tried Command-E and it doesn’t work. Thanks! Last time I mistyped my e-mail address.
May 29th, 2009 at 3:15 pm
@Jean: Holding down the “F12″ key for about a second should eject the CD. At least that’s what works for me…..
February 4th, 2010 at 4:33 pm
Well, i have a custom wow microsoft keyboard for my mac laptop, works so well. I have my new siberia neck set headphones, i have my new wow custom gaming mouse, my new custom mouse thingy … my new laptop cooler. ANd just with these little helpers, i was able to get to 80 in 7 days, plus having no life is helpful. But i really appreciate this little guide, i was so mad that my 190 dollar keyboard wasnt working for mac “D. Bye bye matthew out,
May 13th, 2010 at 4:51 am
WOW! Thanks!!!
February 2nd, 2011 at 2:41 am
This automated script is no longer functional in Snow Leopard.
I tried to solve it, but i’m not being able. Any clues?