How to Switch Some Basic Keys in Windows (Windows VirtualBox Guest on OSX Host)
Just for the Super User archives, something I found at some blog. ;-)
Change your Host key on VirtualBox to be the RIGHT command key
Download AutoHotkey
Put this script in as the startup script
#SingleInstance force #r::Send ^r ;reload #z::Send ^z ; undo #y::Send ^y ; redo #f::Send ^f ; find inside apps #c::Send ^c ; copy #x::Send ^x ; cut #v::Send ^v ; paste #t::Send ^t ; new tab, Firefox #s::Send ^s ; save inside apps LWin & Tab::AltTab ; the motherlode, alt-tab!and you're up and running!
First change the Host Key to Right Command key...
And then change all usages of Windows key to Control Key, in your AHK script.
LWin::LCtrl
LCtrl::LWin
Now the keys are remapped for all shortcuts!
Yep, check out Autohotkey. You can choose to have the hotkeys work on a per-application basis or system wide.
example:
^!n::Run C:\Windows
This will allow you to use Ctrl + Alt + n to open an explorer window to C:\Windows
.
The hotkeys tutorial is a great start for making your own custom hotkeys.