Use the same shortcut when Ctrl Key is pressed down in AutoHotkey

خرید بک لینک

I have a simple keyborad with no multimedia keys. So I created a simple AutoHotkey script to increase, decrease & mute my system volume.

Here' the script

^F10::Send {Volume_Mute}
^F11::Send {Volume_Down 5}
^F12::Send {Volume_Up 5}

Which Gives Ctrl+F10 for Mute
Which Gives Ctrl+F11 for Volume Down
Which Gives Ctrl+F12 for Volume Up

These shortcuts work fine. But the problem is when I press the F11 or F12 key for the second time (still holding the Ctrl key). Instead of Using the given shortcut, only the keypress is executed, that is only F11 or F12 key.

How can I fix this ? Is there a better way to make the code better so it gives no problem while playing game ? (I sometime face problem while using these shortcuts in CS 1.6)

EDIT : For F10 it works fine.

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 217 تاريخ: چهارشنبه 9 تير 1395 ساعت: 7:15

صفحه بندی