I have searched for this but haven't found the answer to it. Is it possible to program ahk to take screenshot in game every frame? My inspiration comes from program called Dxtory who has that option. Currently i am using MSI afterburrner for taking screenshots and have successfully programmed for auto repeating screenshot and taking 10 screenshots than stoping with delay of 250 miliseconds.
Here are the scripts i have created:
Auto repeat
Code: Select all
SetKeyDelay, 1000, 0
i := 0
toggle := 0
$Pause::
toggle := !toggle
if (toggle) {
SetTimer, SCR, On
} else {
SetTImer, SCR, Off
}
return
SCR:
SendEvent, {Insert}
return
10x screenshots
Code: Select all
SetKeyDelay, 250, 0
$PrintScreen::
SendEvent, {insert 10}
return