Jump to content
Sign in to follow this  
mark76

How do I copy and paste areas of the screen

Recommended Posts

mark76

Hi,

Im writing a gui and I want to be able to have the user select a screen area say 50x50 pixels click the mouse button and then have that graphic copied and pasted on to a gui window.

From what I can tell im going to have to make some external calls to windows dlls .

Can anybody help me out here with some examples.

Im not familiar with windows dll programming.

Thanks,

Mark.

Share this post


Link to post
Share on other sites
PaulIA

Hi,

Im writing a gui and I want to be able to have the user select a screen area say 50x50 pixels click the mouse button and then have that graphic copied and pasted on to a gui window.

From what I can tell im going to have to make some external calls to windows dlls .

Can anybody help me out here with some examples.

Im not familiar with windows dll programming.

Thanks,

Mark.

Are you talking about taking a screen capture of a region of a window? If so, take a look at the ScreenCap module in Auto3Lib. It has a UDF that will capture a region of the screen and save it to file.

Auto3Lib: A library of over 1200 functions for AutoIt

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.