up vote 3 down vote favorite
1
share [g+] share [fb]

I am going crazy switching between Windows XP in a VirtualBox and the host (OSX), mostly due to the use of control-c, control-v, control-x and that they are different between the two OSes.

Is there any way to get my Windows machine to use different shortcuts OS-wide?

Edit: I really need a way to override Windows-C Windows-X Windows-V Windows-Z and Windows-Tab (copy, cut, paste, undo and switch-apps) for the solution to work for me.

Edit: Thanks for John T.'s help, I've got my autokey stuff working. I posted my final code for Windows guests on OSX here.

link|improve this question

73% accept rate
feedback

2 Answers

up vote 2 down vote accepted

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.

link|improve this answer
Man I'm glad I asked. Are you the Jon Skeet of superuser? – Yar Jan 29 '10 at 16:55
You can make WinXP machine interpret some other keys as 'Copy', 'Paste' and other actions, but you cannot stop it from interpreting Ctrl+C and Ctrl+V the same way. @John: how do you highlight hotkeys that way? I read the whole help, but didn't found anything regarding. – whitequark Jan 29 '10 at 16:56
thanks whitequark. that might be fine. @John T, I edited the question to reflect what I need. Can Autohotkey do it? – Yar Jan 29 '10 at 17:04
AHK can do ^c ^v just as easily. And the keyboard keys are in <kbd> tags. – Phoshi Jan 29 '10 at 17:11
@Yar you can use #c::Send ^c to make the windows key and c send Ctrl-C, if that's what you're after? Similar with #v::Send ^v ... – John T Jan 29 '10 at 17:43
show 7 more comments
feedback

Just for the Super User archives, something I found at some blog. ;-)

  1. Change your Host key on VirtualBox to be the RIGHT command key

  2. Download AutoHotkey

  3. 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!

link|improve this answer
I love that blog! I'm like the only reader! Thanks Arjan... – Yar Jan 30 '10 at 16:06
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.