I would like to do a screen capture using AutoIt. My code:
#include <ScreenCapture.au3>
_ScreenCapture_Capture(@ScriptDir & "/test.jpg")
This doesn't work. And I know why. I tested what encoders I have:
#include <GDIPlus.au3>
$Encoders = _GDIPlus_Encoders()
MsgBox(0, "", UBound($Encoders))
The result is: 0
. So why don't I have any encoders? And how can I get any?