in reply to Re: capture what's on the screen
in thread capture what's on the screen

This is not quite what I am looking for. I want the capturing fully controled by my program, without any human interaction, so printscreen does not work (I don't press buttons ;-)

However to capture the whole screen instead of an area is okay with me, I can process it after.

Update

Cool, I will take a look, thanks.

Replies are listed 'Best First'.
Re: Re: Re: capture what's on the screen
by mattriff (Chaplain) on Feb 01, 2003 at 22:09 UTC
    My reading of that code (and I've never used any of the Win32 modules ever, so YMMV) was that you didn't press anything -- it simulated the keystroke for you.

    The part I'm talking about is:

    # press the key!! $key->Call(0x2C, 0x45, 0x01, 0); #simulate a "printscrn" key press $key->Call(0x2C, 0x45, 0x03, 0); # & release

    - Matt Riffle