Jump to content

Recommended Posts

Posted (edited)

  BreathFree said:

Hi

How do I save pictures captured on the clipboard by 'Print Screen' command using autoit? I want to use it without using any external library. Please guide me.

Thanks

The only and the best way i know was this one.

#include <A3LScreenCap.au3>

HotKeySet("{PRINTSCREEN}", "Screenshot")
_ScreenCap_SetJPGQuality(100); Choice the quality of the saved file (1-100)

While 1
    Sleep(1000)
WEnd

Func Screenshot()
; Capture full screen
    _ScreenCap_Capture ("C:\Image.jpg"); Choice where you want the file to be save here!
EndFunc  ;==>Screenshot

Sorry! But doing it this way you absolutely need Auto3Lib.

Edited by crash748
Posted

  crash748 said:

The only and the best way i know was this one.

#include <A3LScreenCap.au3>

HotKeySet("{PRINTSCREEN}", "Screenshot")
_ScreenCap_SetJPGQuality(100); Choice the quality of the saved file (1-100)

While 1
    Sleep(1000)
WEnd

Func Screenshot()
; Capture full screen
    _ScreenCap_Capture ("C:\Image.jpg"); Choice where you want the file to be save here!
EndFunc ;==>Screenshot

Sorry! But doing it this way you absolutely need Auto3Lib.

Hi crash748

Thanks for your reply. I actually downloaded Auto3Lib, some time ago on my system. However, I was unable to install it due to the following strange error.

"Auto3Lib requires at least version 3.2.4.9 of AutoIt. Your version of AutoIt is v3.2.6.0"

and then the installation terminates.

Hope, that you will be able to help me further

Posted

Please follow my directions in this post. The installation error has been happening to everyone. If you follow the directions you can install Auto3Lib:

http://www.autoitscript.com/forum/index.ph...st&p=400592

- The Kandie Man ;-)

"So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...