By will never learn
I would like to send out internal statistics in my office by email every night.
Opening the program and sending the email with the picture attached is no problem. But the Screenshot is always just black, because the workstation is locked while the script is running at night (scheduled task).
Any ideas on how to solve this? There is no screensaver active.
Current code for capturing the screen:
#include <ScreenCapture.au3> Local $hBmp ; Capture full screen $hBmp = _ScreenCapture_Capture("") ;~ Save bitmap to file _ScreenCapture_SaveImage("C:\Users\Administrator.SCHMITZ\Desktop\Umsatz-Mail\Statistik.png", $hBmp) Thanks a lot for your help