Jump to content

AU3LIB Screen capture problem


Recommended Posts

#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?

Link to comment
Share on other sites

#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
Link to comment
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
 Share

  • Recently Browsing   0 members

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