Search found 17 matches

by leosouza85
04 Nov 2018, 19:47
Forum: Ask For Help
Topic: Text search on webpage
Replies: 3
Views: 164

Re: Text search on webpage

Also this is the wrong area, this area is to share script, not to ask for scripts
by leosouza85
04 Nov 2018, 19:46
Forum: Ask For Help
Topic: Text search on webpage
Replies: 3
Views: 164

Re: Text search on webpage

Press F1 to start the script
F4 to pause
F5 to Reload
F6 to Exit
by leosouza85
04 Nov 2018, 19:45
Forum: Ask For Help
Topic: Text search on webpage
Replies: 3
Views: 164

Re: Text search on webpage

F1::
;the window with the webpage must be active

loop
{
send, ^a
send, ^c
if (clipboard contains incorrect)
{
send, {F3}
}
if (clipboard contains correct)
{
send, {F2}
}
sleep 3000
}
return

F4::Pause
F5::Reload
F6::Exit

;this is the simplest way to doing it
by leosouza85
28 Oct 2018, 16:21
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 204
Views: 45678

Re: FindText - Capture screen image into text and then find it Topic is solved

I dont understand your language, but by looking at your code, your error tolerance seems too high 0.7 means that 70% of the pixels can be wrong, so generating false positives... Thank you. The high error tolerance is on purpose, because the issue I encountered is not false positive, but false negat...
by leosouza85
28 Oct 2018, 14:30
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 204
Views: 45678

Re: FindText - Capture screen image into text and then find it Topic is solved

Sorry, my English is so poor that I can't guarantee to express myself clearly, so have to ask the author some questions in my native language ( and I know the author can read it ). If this is not allowed, please tell me and I will delete it. --- 请教feiyue兄,我用您这个工具一两年了,很好用。但最近遇到个问题,难住我了 我自用的一个游戏脚本,需要...
by leosouza85
28 Oct 2018, 14:27
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 204
Views: 45678

Re: FindText - Capture screen image into text and then find it Topic is solved

Hi leosouza85, Can you please be more specific. Because it seems like what are you trying to do is already built-in the function. The function ignores the characters it cannot find. Im sugesting, that via a third character, like _ ° *, you can manually select the pixels to ignore, instead the autom...
by leosouza85
26 Oct 2018, 22:43
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 204
Views: 45678

Re: FindText - Capture screen image into text and then find it Topic is solved

@paulpma, FindTextOCR() is mainly used to identify validation codes. If you want to identify English words and match it with 100%, you can use 0.00001 instead of 0 as the fault-tolerant value, avoiding an automatic 10% second attempt. @iseahound, Updated to the v5.5 version, in order to identify a ...
by leosouza85
07 Oct 2018, 10:38
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 204
Views: 45678

Re: FindText - Capture screen image into text and then find it Topic is solved

Updated to the v6.1 version. :beer: The specific color mode has been restored, so there are three modes. Updated to the v5.5 version, in order to identify a variety of color verification code, I improved the color model, now it can adapt to various colors. :D When upgrading to the v5.5 version, the...
by leosouza85
06 Oct 2018, 21:05
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 204
Views: 45678

Re: FindText - Capture screen image into text and then find it Topic is solved

Updated to the v6.1 version. :beer: The specific color mode has been restored, so there are three modes. Updated to the v5.5 version, in order to identify a variety of color verification code, I improved the color model, now it can adapt to various colors. :D When upgrading to the v5.5 version, the...
by leosouza85
01 Oct 2018, 18:57
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 204
Views: 45678

Re: FindText - Capture screen image into text and then find it Topic is solved

@FastLearner, Don't copy the form of automatically generated code. :headwall: I believe you can learn to set search scope if you read the introduction. :beer: ;———————————————————— returnArray := FindText( X --> upper left corner X coordinates , Y --> upper left corner Y coordinates , W --> the sea...
by leosouza85
19 Sep 2018, 15:25
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 204
Views: 45678

Re: FindText - Capture screen image into text and then find it Topic is solved

Hi, @nwr425, Although this function FindText() returns all the locations found, it is recommended to look for images that appear only once in the full screen. 1. When you write web page automation scripts, you should try to avoid looking for multiple identical images, try to use a unique image, to ...
by leosouza85
10 Sep 2018, 21:39
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 204
Views: 45678

Re: FindText - Capture screen image into text and then find it Topic is solved

Hi, @feiyue, firstly thank you so much for your work, can I ask you something vey very simple? Could you make the script generate the code already inside a verification loop? (loop search this graphics until it finds it). I think it will help us in most use cases! Thank you!
by leosouza85
07 Nov 2017, 19:47
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 204
Views: 45678

Re: FindText - Capture screen image into text and then find it Topic is solved

Searching for images does not depend on screen resolution. On a smaller resolution screen, the same image will appear larger, but pixel-for-pixel, it's the same (the pixels themselves are larger, not any details about the image). An image search, whether using this tool or the ImageSearch command, ...
by leosouza85
06 Nov 2017, 19:00
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 204
Views: 45678

Re: FindText - Capture screen image into text and then find it Topic is solved

Why not do this: When the script capture the screen, the script automaticaly zoom in and out to simulate various resolutions, and font sharpness too if possible... maybe 5 resolutions samples and 5 samples with different font sharpening setting... The code generated to paste will be 10 times bigger ...
by leosouza85
23 Jul 2016, 12:38
Forum: Tips and Tricks
Topic: Found solution to pixelsearch and pixelgetcolor being slow in windows 7, 8 and 10
Replies: 3
Views: 4290

Re: Found solution to pixelsearch and pixelgetcolor being slow in windows 7, 8 and 10


Performance improves in the same script from 1.300 ms to 15 ms
That would make it slower? 1.3000 < 15
Sorry I used the wrong notation, I mean 1300 vs 15 ms.
by leosouza85
22 Jul 2016, 16:35
Forum: Tips and Tricks
Topic: Found solution to pixelsearch and pixelgetcolor being slow in windows 7, 8 and 10
Replies: 3
Views: 4290

Found solution to pixelsearch and pixelgetcolor being slow in windows 7, 8 and 10

I was suffering with pixelsearch and pixelgetcolor being very very slow in windows 7 and 10. So I did some research, tests and benchmarks and found that the cause is windows desktop theme effects... Performance improves in the same script from 1300 ms to 15 ms Solution for Windows Vista. and 7 Open ...

Go to advanced search