Hello,
I am a basic AutoHotkey user where I mainly use key rebind or text entry.
I would like to make a more advanced toggle function for a game.
Basically my game has a voice chat where you have to hold T. I also use a Discord channel where I have a shortcut (CTRL+F5) to mute the mic and sound.
My goal is to create a combination key like (CTRL+F4) which
if held down :
- send CTRL+F5 key once and hold T key
if released :
- send CTRL+F5 key once and release T key
The goal is that once I speak with the voice chat of the game, it mutes discord and then restore it once finished.
Thanks for your help.
Switch vocal chat game / Discord mute Topic is solved
Re: Switch vocal chat game / Discord mute Topic is solved
Code: Select all
^F4::
Send ^{F5}{T down}
KeyWait, F4
KeyWait, Ctrl
Send ^{F5}{T up}
Return
Re: Switch vocal chat game / Discord mute
Thank you, it works perfectly.
I had gone to a much more complicated script but without success.
I had gone to a much more complicated script but without success.
Who is online
Users browsing this forum: ReyAHK and 44 guests