BlaxFly Posted March 30, 2023 Posted March 30, 2023 Hello, I am a beginner and noob in autoit. I wanted to ask, is it possible to capture a certain area of the screen, sort of like taking a screenshot and having all words in that area copied to clipboard? If yes, how?
Nine Posted March 30, 2023 Posted March 30, 2023 Look in help file, under UDF section, ScreenCapture Management. “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
BlaxFly Posted March 30, 2023 Author Posted March 30, 2023 11 minutes ago, Nine said: Look in help file, under UDF section, ScreenCapture Management. Thank you, but I am still having trouble finding how to copy the words in the captured area.
Werty Posted March 30, 2023 Posted March 30, 2023 For that you also need some kind of OCR like @Danyfirex's UWPOCR udf. Some guy's script + some other guy's script = my script!
BlaxFly Posted March 30, 2023 Author Posted March 30, 2023 35 minutes ago, Werty said: For that you also need some kind of OCR like @Danyfirex's UWPOCR udf. Alright, I was able to find what I wanted, but I have a problem in having the captured words copied. How can I do that?
mistersquirrle Posted March 30, 2023 Posted March 30, 2023 Are you able to post any code that you've come up with so far? Without posting code to show where you're having a problem, you're probably not going to get much help. There's plenty of places that your problem could be, and there's examples of how to use the things mentioned in this thread. So show us your code and explain where you're having the problem. We ought not to misbehave, but we should look as though we could.
rsn Posted March 30, 2023 Posted March 30, 2023 (edited) Microsoft's PowerToys (link here) offers a capture tool called "Text Extractor" that does what you describe. It works like the snipping tool and triggered with Win-Shift-T. It struggles with lower contrast and smaller text but I've had good success with it. Edited March 30, 2023 by rsn Link to website
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now