maleko48 wrote: ↑08 Apr 2021, 22:04
chaoscreater wrote: ↑08 Apr 2021, 20:42
I'm trying to use FindText to capture an image, generate the code for me and use that code across different machines regardless of their screen resolution. I think this is explained clearly now.
If 2 machines have the same screen resolution configured, then the code will work just fine.
If 2 machines have different screen resolution configured, then one of the machine will not be able to use that code. The screenshot I provided in my previous post should be very clear to understand.
I'm not a software programmer and I don't have the skills to expand on this to make this work, hence why I am asking or requesting if FindText can be improved upon to scale up/down to work on machines with different resolution. Ideally, the FindText GUI would provide options to generate code for different screen resolutions.
I know what you want to do, but good luck with that attitude around here. You haven't even given enough details for anyone to help you.
What size is the image you are trying to match?
What is the image being displayed or rendered in?
Is it an image you are ultimately trying to find or font/text within the image.
Do you want to programmatically search an image in the form of a file or is this program intended to operate on your desktop's current output in realtime?
How often does the viewport change, or do you have a folder of files you intend to parse and search?
Are there GUI anchor points you can work from using relative measures?
What scaling percentage are the machines running at despite their differing resolutions?
etc
I could say the same about you. I've clearly explained what I am trying to do and clearly explained my request in the beginning. I've been patient with you asking the same questions multiple times (except your last post). I've also provided enough details already.
You run FindText on a machine with e.g. 1920 x 1080 resolution. You do a capture and FindText generates the code for you. My request was to extend this generated code to be scaled up or down to apply to different screen resolutions. It's like if you take a photo of a certain resolution and you shrink or enlarge it using photo editors. Nobody needs to ask the questions you have asked. The photo editors clearly can shrink and enlarge the photo, regardless of what photo editor program you use, regardless if you're editing the photo on a phone, tablet, PC, whatever. It's that simple.
Now, to answer your other questions:
What size is the image you are trying to match?
- Doesn't matter and irrelevant. Any image captured by FindText should then be able to shrink or enlarge to be detected on another machine using another resolution.
What is the image being displayed or rendered in?
- It's just a black and white image. using Gray2Two function.
- image.png (11.65 KiB) Viewed 4637 times
Is it an image you are ultimately trying to find or font/text within the image.
- Image I'm trying to find
Do you want to programmatically search an image in the form of a file or is this program intended to operate on your desktop's current output in realtime?
- desktop's current output in realtime
How often does the viewport change, or do you have a folder of files you intend to parse and search?
- changes frequently
Are there GUI anchor points you can work from using relative measures?
- don't understand your question. I only know the very basics of how to use FindText to do an image capture and use its generated code.
What scaling percentage are the machines running at despite their differing resolutions?
- no scaling. It's at 100%.