FrankieNBloo
New Member
I know autohotkey can be spotty with OBS (at least that is what I've heard). Yet, until recently, I was able to use autohotkey with OBS perfectly fine. I have no idea why it randomly and suddenly stopped working (I didn't change my script at all), but I think I've isolated what might be the cause. I'm looking for any advice from anyone who has found a workaround.
I think it has something to do with the game capture source. Whenever I have a game running as an active window, the moment I press any keys on the keyboard, the ahk script stops sending my hotstrings to my system. I can click in the game window all I wish and the script continues to work. Yet the moment I hit any keys on my keyboard while the game is the active window, the script stops functioning. Sometimes ahk even closes itself once i close a game window - it shouldn't do this. There is nothing in the script which would say it should do this. There are no ifwin commands or winactivate commands at all in the script or anything of the sort. I just have a manual ctrl+esc hotkey to exit the script. It's pretty simplistic and it was working perfectly fine with obs and obs's game capture until recently where it stopped functioning out-of-the-blue. Originally, I thought it was because of a priority issue (you cannot use ahk, to my knowledge, if you try and run OBS in administrator mode for example). So I tried to bump up ahk's priority in the task manager, but that didn't work. But I think it has to do with the game capture source.
I do currently have a workaround for this, but it's a manual one, and the goal for me is to make my OBS hotkeys more automated even further through the use of AHK.
Also my GTX 1070 driver crashed while trying to fix this when putting dota2 from fullscreen to windowed - I was trying to test other games. And now my desktop icons are always scattered all over the place on startup, and I'm most likely going to have to do a factory reset of the windows OS to reset them. Long story short, I'm fed up and want to ask anyone here for suggestions.
So does anyone have any suggestions or workarounds for getting AHK to reliably work with OBS hotkeys?
I think it has something to do with the game capture source. Whenever I have a game running as an active window, the moment I press any keys on the keyboard, the ahk script stops sending my hotstrings to my system. I can click in the game window all I wish and the script continues to work. Yet the moment I hit any keys on my keyboard while the game is the active window, the script stops functioning. Sometimes ahk even closes itself once i close a game window - it shouldn't do this. There is nothing in the script which would say it should do this. There are no ifwin commands or winactivate commands at all in the script or anything of the sort. I just have a manual ctrl+esc hotkey to exit the script. It's pretty simplistic and it was working perfectly fine with obs and obs's game capture until recently where it stopped functioning out-of-the-blue. Originally, I thought it was because of a priority issue (you cannot use ahk, to my knowledge, if you try and run OBS in administrator mode for example). So I tried to bump up ahk's priority in the task manager, but that didn't work. But I think it has to do with the game capture source.
I do currently have a workaround for this, but it's a manual one, and the goal for me is to make my OBS hotkeys more automated even further through the use of AHK.
Also my GTX 1070 driver crashed while trying to fix this when putting dota2 from fullscreen to windowed - I was trying to test other games. And now my desktop icons are always scattered all over the place on startup, and I'm most likely going to have to do a factory reset of the windows OS to reset them. Long story short, I'm fed up and want to ask anyone here for suggestions.
So does anyone have any suggestions or workarounds for getting AHK to reliably work with OBS hotkeys?