Jump to content

Recommended Posts

24 minutes ago, Nine said:

Also, corrected a small bug.  New version available.

Note (just a minor detail) : The header still indicates 2021-08-26 as the date of the last modification.

#include-once
#include <ScreenCapture.au3>

; #DESCRIPTION# =================================================================================================================
[...]
; Date ..........: 2021-08-21
; Modified ......: 2021-08-26

 

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Link to post
Share on other sites
14 hours ago, Nine said:

@Chimp Yes I removed the source code from the zip file.  It is an AutoIt example, not a FreeBasic example. ;)

ok  :P

Edited by Chimp
removed joke

 

image.jpeg.9f1a974c98e9f77d824b358729b089b0.jpeg Chimp

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Link to post
Share on other sites
  • 4 months later...

GetWindow does not work on Chrome, you will need to use GetScreen.

The result is a GDI+ handle.  Search the forum for examples how to draw a GUI picture from GDI+.  If you have problem with this, start a new thread in "AutoIt General Help and Support" section.

Link to post
Share on other sites

Really appreciate your work.

How can I take a screenshot of a window (Chromium based), but from pixel 300,80 to 950,940 using this ScreenGet ?

I was using: ScreenCapture_Capture("",$left,$top,$right,$bottom,False)

Another question: the above gives an Hbitmap, and then convert it to bitmap, and set TIFF parameters in order to increase the quality and readability of OCR. Any way I can do it using the image that your screenget file gets ?

Edited by SaeidN
Link to post
Share on other sites
Posted (edited)
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...