Jump to content
Sign in to follow this  
pintas

Get image from window possible?

Recommended Posts

pintas

I've a program that displays the content of an external device in one single image on the program window.

Is there a way to retrieve that single image regardless of the screen resolution?

I need to use my script in different desktops, and some with different resolutions.

Any ideas please?

Thank you.

Share this post


Link to post
Share on other sites
pintas

Thanks Mat, but somehow, it only takes a screenshot of a very small portion on the image :S Weird.

Share this post


Link to post
Share on other sites
martin

Thanks Mat, but somehow, it only takes a screenshot of a very small portion on the image :S Weird.

Maybe ControlGetPos and take a screen shot of that area after using _WinAPI_ClientToScreen.


Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites
pintas

Well, that sounds complicated :D But i promise to try.

Thanks Martin.

I'll keep you guys posted on the results.

Share this post


Link to post
Share on other sites
pintas

Ok, you can just call me an idiot... i just found out the image doesn't change coordinates just because i change the screen res. :D

Edited by pintas

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  

×