Okay That works great.
The Issue now is that i dont know how to change the Filename here.
e.g i want it to be Picutre1, Picture 2 etc.
so now my code looks like this:
#include <ScreenCapture.au3>
Global $x
For $x = 1 to 5 Step 1
$sFileName =
_ScreenCapture_Capture(@MyDocumentsDir & "\GDIPlus_Image1.jpg")
ShellExecute(@MyDocumentsDir & "\GDIPlus_Image1.jpg")
Next
Thanks again for the help