Jump to content

Recommended Posts

Posted

#include <ScreenCapture.au3>

Example()

Func Example()
    Local $hBmp

    ; Capture full screen
    $hBmp = _ScreenCapture_Capture("")

    ; Save bitmap to file
    _ScreenCapture_SaveImage(@MyDocumentsDir & "\GDIPlus_Image.jpg", $hBmp)

    ShellExecute(@MyDocumentsDir & "\GDIPlus_Image.jpg")
EndFunc   ;==>Example

 

 

try to screen capture but it keep pop up the image 

just want to save the image dont want to open it

thank you

Posted
7 minutes ago, yalil said:

try to screen capture but it keep pop up the image. just want to save the image dont want to open it ...

i dont know how please example

 

#include <ScreenCapture.au3>
Example()
Func Example()
    Local $hBmp

    ; Capture full screen
    $hBmp = _ScreenCapture_Capture("")

    ; Save bitmap to file
    _ScreenCapture_SaveImage(@MyDocumentsDir & "\GDIPlus_Image.jpg", $hBmp)
EndFunc   ;==>Example

 

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Posted
4 minutes ago, Musashi said:

 

#include <ScreenCapture.au3>
Example()
Func Example()
    Local $hBmp

    ; Capture full screen
    $hBmp = _ScreenCapture_Capture("")

    ; Save bitmap to file
    _ScreenCapture_SaveImage(@MyDocumentsDir & "\GDIPlus_Image.jpg", $hBmp)
EndFunc   ;==>Example

 

i try but it automatically pop up the image that i just capture

image.thumb.png.158dc13867dadf69bff98f4d0b173a2a.png

Posted
4 minutes ago, Danp2 said:

@yalilYour screen shot is proof that you didn't run the code posted by @Musashi, because the line containing the ShellExecute had been removed in his code. Either remove that line or comment it out by putting a semicolon at the beginning of the line.

still pop up :(

is there any command in autoit to just save screen capture ?

image.thumb.png.bd874c7e999d46a9766dda782bd72c08.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...