Code: Select all
SendMode Play
SetKeyDelay, 0, 0, Play
F2::ControlSend, ,2, Game Capture HD
;or F2::ControlClick, x185 y555, Game Capture HD
return
Code: Select all
SendMode Play
SetKeyDelay, 0, 0, Play
F2::ControlSend, ,2, Game Capture HD
;or F2::ControlClick, x185 y555, Game Capture HD
return
Yeah, nothing happens when I run the ahk and the app is open in the background.wolf_II wrote:Try to run "the window" in background?
what does this even mean?When the a[[ is opened
Sorry, I meant app. I had a typo .swagfag wrote:what does this even mean?When the a[[ is opened
Code: Select all
SetKeyDelay, 0, 0
F2::ControlSend, ,2, ahk_exe GameCapture.exe
return
I don't think that will do anything as it already works just it won't work if I don't have the window/app opened/on screen.swagfag wrote:anyway, try SetKeyDelay with different settings.
Code: Select all
DetectHiddenWindows, On
F2:: ControlSend,, 2, ahk_exe GameCapture.exe
For some reason When I dowolf_II wrote:Try also:Code: Select all
DetectHiddenWindows, On F2:: ControlSend,, 2, ahk_exe GameCapture.exe
Code: Select all
DetectHiddenWindows, On
F2:: ControlSend,, 2, ahk_exe GameCapture.exe
Code: Select all
DetectHiddenWindows, On
F2::ControlSend, ,2, Game Capture HD
It doesn't have to be minimized. And how I understand what you were saying about how it might not receive keystrokes when minimized/out of focus (Or at least that's what I got out of it). Wouldn't I still be able to when It is in the background and not minimized? Like if I have a window on top of it covering it up it should still register keystrokes.swagfag wrote:What u want is, presumably, to ControlSend keystrokes to it, while its minimized.
+1swagfag wrote: Alternatively, u might try to PostMessage something to the app.
Yeah, but it does work. Just not when the application is minimized or off screen...MannyKSoSo wrote:It all depends on how the key is being sent in terms of timing. Any computer input you do without a program is seen slow in comparison to a computer. So when a program like autohotkey sends a click or a keystroke, its sends it much faster than a person could. So some programs look at how much time a key is being held down. I have heard that most programs look for a key press of at least 50 ms (as this is the fastest average a person could do just pressing a button). So the fact may be that its working to fast for the game to accept it as a valid input.
Can I get an example? I don't know how to use PostMessage.swagfag wrote:u might try to PostMessage something to the app
Users browsing this forum: Google [Bot], sbrady19 and 131 guests