#include <ScreenCapture.au3>
Local $hBmp
; Capture full screen
$hBmp = _ScreenCapture_Capture("")
_ScreenCapture_SaveImage("C:\Software\autoitscripts\scripts\images\prp\ocr\"&"ocr_01.PNG",$hBmp)
Sleep(1000)
_ScreenCapture_Capture("C:\Software\autoitscripts\scripts\images\prp\ocr\"&"ocr_02.PNG")
Sleep(1000)
ShellExecute("C:\Software\autoitscripts\scripts\images\prp\ocr\"&"ocr_01.PNG")
Sleep(1000)
ShellExecute("C:\Software\autoitscripts\scripts\images\prp\ocr\"&"ocr_02.PNG")
Hi All,
This is my first post and I have checked the forum. If this question has been asked and answered I apologise.
The code above is intended to save the whole screen to a directory; it doesn't work.
I have downloaded and copied and renamed the files referenced in https://www.autoitscript.com/forum/topic/192254-33143-fixes/ to my includes directory.
Clearly there is some step that I am missing; do I need to download and register a dll?
I know that I am using two different methods above but neither works for me.