Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

_ScreenCapture_SaveImage help saving image

$
0
0
ss()
Func ss()
    Local $hBmp
 
    ; Capture full screen
    $hBmp = _ScreenCapture_Capture("")
 
    ; Save bitmap to file
    _ScreenCapture_SaveImage(@MyDocumentsDir & "\Image.jpg", $hBmp)
 
    ShellExecute(@MyDocumentsDir & "\Image.jpg")
EndFunc   ;==>ss
 
 
so the code works my problem is it override the image and i want to rather save it as image1,image2 and so on. and also im not sure how to i can add a folder to it so atm is saving in mydoucments how would i save to a new folder in doc?
thanks for the help

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>