Applescript to change keyboard modifier keys

OS X messes up my Bluetooth keyboard modifier keys sometimes, and I wanted a quick solution to the problem.

After a quick Google search, I found this post on Apple Support Communities. It is from 2006 which means it probably was made for OS X 10.4 Tiger. When trying the script on my Mac Mini with 10.8 Mountain Lion a few errors occured and since  I thought I would share the updated script with you. Read More