|
|
10.5: Set different modifier keys for external keyboards
For people not upgrading...
I have an external keyboard, that I swap the command/alt keys (so the laptop and external keyboard command buttons are next to the spacebar) I was doing this manually, which got tedious quickly. I found a script that automatically swapped they keys. Since I found it slightly confusing (ended up swapping it away from the right settings and such), among other problems (it reset my spacebar-as-shift option) - I rewrote it a bit.
I saved it as lt_to_pc.scpt, and the same script. And another version with the "of popup button 3" changed to button 4, and "button 4" to button 3 - saved as pc_to_lt.I run it automatically via MarcoPolo (two zones, PC_keyboard, and LT_keyboard - when it arrives in PC_keyboard, it runs lt_to_pc, and for LT_keyboard, pc_to_lt, The zones are switched by the USB keyboard device of course) - but I'm considering just running it via Quicksilver, unless I can think of other uses fo MarcoPolo (Currently I don't have any other need for it, so running it just to swap the keyboard keys is slightly overkill I'd say).. Apologies for the slightly incoherent post.. - Ben
10.5: Set different modifier keys for external keyboards
It seems some external keyboards don't get recognized by Leopard, so the automatic modifier switching doesn't work for them.
Yury Soldak emailed me yesterday, with a modified version of the above code which works with the Leopard (the drop-down indexes changed because of the extra button, and there's a few other changes)
Here's the code - to swap the command and option keys on an external keyboard on Leopard:
(Its an AppleScript, copy and paste it into Script Editor and save/run it)
|
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|