I have an issue with sending keys to OBS Studio. I use the version 24.0.3 64bits of OBS Studio. I try to send a simple shortcut but I have no success and it drives me nuts!
I searched for solutions and tried several found within this forum but it still not work and I don't understand why. Here is my little script :
Code: Select all
#MenuMaskKey vk07 ;Takes the extra CTRL event out of Alt+ hotkeys.
SetKeyDelay, -1, 50 ;Simulates holding down the key for 50ms.
^=::
ControlSend, , {F12}, ahk_class Qt5QWindowIcon
return
I put the 2 first lines as seen in another post (without success).
And the worst part is if I go in the parameters of OBS, in the screen to change the shortcuts, and if I hit Ctrl+= It put in the shortcut field F12 ! So it seems that the key is sent to OBS in some way, but it doesn't trigger the shortcut...
It works with Send, but I'd like to send the key to the window in the background and not put it in the foreground beforehand...
Did I miss something obvious here ?
Thank you in advance for your help.