I have a very loud mechanical keyboard, and I often make notes while having Skype calls. So I figured it would be great to have a script that mutes the microphone when the keys are being pressed, and unmutes it after a certain threshold (say, 3 seconds of key inactivity).
I managed to get this working:
Code: Select all
Input, SingleKey, L1, {LControl}{RControl}{LAlt}{RAlt}{LShift}{RShift}{LWin}{RWin}{AppsKey}{F1}{F2}{F3}{F4}{F5}{F6}{F7}{F8}{F9}{F10}{F11}{F12}{Left}{Right}{Up}{Down}{Home}{End}{PgUp}{PgDn}{Del}{Ins}{BS}{Capslock}{Numlock}{PrintScreen}{Pause}
soundSet,1, , mute, 12