Jump to content
Sign in to follow this  
sherkas

AU3LIB Screen capture problem

Recommended Posts

sherkas

#include <A3LScreenCap.au3>

; Full screen capture
_ScreenCap_Capture("c:\full.bmp")

; Region capture
_ScreenCap_Capture("c:\part1.bmp", 0, 0, 300, 400)


_ScreenCap_Capture("c:\apic.bmp", 5, 10, 215, 80)

Taken straight and ran straight from the example script. The first two pictures turn out fine... the first returns a 14kb file that has no picture in it. Why?

Share this post


Link to post
Share on other sites
PaulIA

#include <A3LScreenCap.au3>

; Full screen capture
_ScreenCap_Capture("c:\full.bmp")

; Region capture
_ScreenCap_Capture("c:\part1.bmp", 0, 0, 300, 400)
_ScreenCap_Capture("c:\apic.bmp", 5, 10, 215, 80)

Taken straight and ran straight from the example script. The first two pictures turn out fine... the first returns a 14kb file that has no picture in it. Why?

Well, the first problem is you posted in the wrong place. :shocked: You should post all Auto3Lib questions in the Auto3Lib thread per the documentation. I don't routinely monitor every forum for Auto3Lib questions, but I just happened upon this one.

There was a bug in the ScreenCap module and I posted new code late last night. Make sure that you have this new version. I ran your code above with the new version and it works fine. If you still have problems, drop me a line in the Auto3Lib thread in the Examples forum.


Auto3Lib: A library of over 1200 functions for AutoIt

Share this post


Link to post
Share on other sites
sherkas

Sorry I didn't think that threat was an active help thread too... I just knew it was long heh.

But thanks for update, will definatly get that for the fix!

(Thanks for the work!)

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.