Forwarding key press to windows

Discussion in 'Windows Virtual Machine' started by Martin Mazur, Nov 28, 2007.

  1. Martin Mazur

    Martin Mazur Bit poster

    Messages:
    4
    Is it possible to, in any way, forward a key press from OS X to windows VM even if the VM is not active?

    What I'm doing is that I'm running ventrilo (a voice chat program) in windows (XP) VM. Ventrilo requires me to press a key to speak (like walkie-talkies). This works fine while the VM is the active application but as soon as another application becomes active the key press dosen't seam to be forwarded to the VM.

    Is there anyway to accomplish this?
    Any tips on where to start looking?

    I have tried both windowed and coherence mode but it makes no difference.
     
  2. Eru Ithildur

    Eru Ithildur Forum Maven

    Messages:
    1,954
    You can't forward key commands when the VM is not active. Period. When the VM is not running, it is akin to having your computer asleep.

    Or, do you mean when the VM is not the focused program? If so, then you could probably create an AppleScript that will send the key command; and then bind a key to the applescript command.
     
  3. Martin Mazur

    Martin Mazur Bit poster

    Messages:
    4
    Thanks for the reply Eru,

    to clarify, yes I meant when it is not the focused program. I'm fairly new to Mac but I will investigate the AppleScript option. If anyone has a solution for this feel free to share.
     
  4. Eru Ithildur

    Eru Ithildur Forum Maven

    Messages:
    1,954

Share This Page