Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm running VMware Workstation 9 on Windows 7 and I wonder how do I make an AutoHotkey script (which does some key remapping) work only when the input is grabbed by a VMware virtual machine?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Use:

SetTitleMatchMode, 2
#IfWinActive, VMware
    a::b
    c::d
#IfWinActive
share|improve this answer
    
It's worth mentioning that the windows title in the script is not necessarily to be the full window title of your virtual machine, making it simply VMware works for any VM window. –  Desmond Hume Mar 12 '13 at 17:51
1  
@Desmond, I changed the script to include the SetTitleMatchMode to 2, so any window with VMWare in the title will work. –  Robert Ilbrink Mar 12 '13 at 18:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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