Search found 260 matches

by feiyue
14 Dec 2019, 01:05
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 644
Views: 240986

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

@ArkuS I think if you want to use ControlClick, you can do this:

Code: Select all

WinGetPos, winx, winy,,, %title%
X-=winx, Y-=winy
ControlClick, x%X% y%Y%, ......
by feiyue
11 Dec 2019, 12:07
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 644
Views: 240986

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

Code: Select all

Coordmode, screen  ----> CoordMode, Mouse, Screen
Such a simple mistake, I thought you would find it yourself.
by feiyue
10 Dec 2019, 16:40
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 644
Views: 240986

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

One thing is to actually find the edges of the screen instead of adding or subtracting 150000. It's not really necessary, because the FindText() function has been internally limited to finding images within the edge of the virtual screen. So it doesn't matter if the range goes beyond the virtual sc...
by feiyue
10 Dec 2019, 15:43
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 644
Views: 240986

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

Updated to 7.1 version - 2019/12/10 .... 1. Add: A new function PicInfo() is added to ensure that each text parameter ....... is parsed only once, which slightly improves the efficiency of loop execution. .... 2. Add: A sub window is added to the capture image window to process the captured image. ....
by feiyue
06 Dec 2019, 22:55
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 644
Views: 240986

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

thebbandit If you think it's necessary, you can do it in one line. WinWaitClose, % "ahk_id " WinExist() GuiControl, ft_Main:, MyPic, % Trim(ASCII(Result),"`n") ;<-- Add this line ;-------------------------------- if (Event="ButtonOK") Of course, this is a good suggestion. :thumbup: Maybe I should n...
by feiyue
06 Dec 2019, 22:33
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 644
Views: 240986

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

maxkill You may need to know coordinates and coordinate calculations. :beer: The coordinates of two points determine a rectangular range, The first four parameters of the FindText() function require two screen coordinates, So you can do this: CoordMode, Mouse, Screen MouseGetPos, x, y ok:=FindText(...
by feiyue
04 Dec 2019, 11:16
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 644
Views: 240986

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

@thebbandit Thank you very much for your many good suggestions ! :thumbup:
You think very carefully ! I fixed it and achieved this effect. :beer:
by feiyue
02 Dec 2019, 03:48
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 644
Views: 240986

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

@thebbandit Thank you for your feedback.

Would you please test the latest version to see if the problem is solved?
by feiyue
30 Nov 2019, 00:33
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 644
Views: 240986

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

You can sort it with SortOK(). For example:
ok:=SortOK( FindText(0, 0, A_ScreenWidth, A_ScreenHeight, 0, 0, Text) )
by feiyue
29 Nov 2019, 20:44
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 644
Views: 240986

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

@thebbandit
Thank you for your suggestion. I updated it to realize some of your ideas. :)
The version number was not updated because it was not a major change.
by feiyue
27 Nov 2019, 05:22
Forum: Scripts and Functions
Topic: AHK Screen Capture Tool
Replies: 8
Views: 6172

Re: AHK Screen Capture Tool

@SpeedMaster Thank you for your interesting features and suggestions for improvement.
by feiyue
24 Nov 2019, 10:23
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 644
Views: 240986

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

Updated to 7.0 version - 2019/11/24 .... 1. Modify: the first four parameters of FinText() used to specify the search range ....... are changed from the previous (X, Y, W, H) to (X1, Y1, X2, Y2), Similar to the ....... built-in command imagesearch, because many novices want to use the simple way. .....
by feiyue
08 Nov 2019, 19:29
Forum: Scripts and Functions
Topic: AHK Screen Capture Tool
Replies: 8
Views: 6172

Re: AHK Screen Capture Tool

Update to version 2.5 :dance: :beer:

1. Add: now screenshots can be saved and loaded, so you can take multiple screenshots and process them later.
Because the screenshot image is relatively large, it has no practical value and is not saved as a BMP file.
by feiyue
30 Oct 2019, 00:27
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 644
Views: 240986

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

Updated to 6.9 version - 2019/10/30 .... 1. The ScreenShot_GetColor() function is added. .... Before using it, you usually need to update the last screenshot with the ScreenShot() function. .... FindText() function can also update the last screenshot, So you can use FindText() instead of ScreenShot().
by feiyue
28 Oct 2019, 04:30
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 644
Views: 240986

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

Your window title uses regular expressions: "^.*Engvidshortcut.*$"
I think you need to add this at the beginning of the script: SetTitleMatchMode, RegEx
by feiyue
26 Oct 2019, 22:29
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 644
Views: 240986

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

Jinpachi If the capture range is not large, you can adjust the following values: ; The capture range can be changed by adjusting the numbers ;---------------------------- ww:=35, hh:=12 ;---------------------------- Just wanted to ask if the 1st post could be updated to reflect the current state of...
by feiyue
25 Oct 2019, 00:36
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 644
Views: 240986

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

Updated to 6.8 version - 2019/10/25 .... 1. Fixed case insensitive key names in internal array of Pic() function. .... 2. In order to facilitate this script to be included in other scripts as a library (#Include <FindText.ahk>), .... no custom global variables are used, and the label of subprogram i...
by feiyue
30 May 2019, 01:34
Forum: Scripts and Functions
Topic: Mouse And Keyboard Macro Recorder
Replies: 105
Views: 84801

Re: Mouse And Keyboard Macro Recorder

My original intention was to provide a simple recording tool for beginners. As I added more and more private functions to this recording tool, it became more and more complex, making it difficult for beginners to use. My English is not good enough to explain how to use it clearly. So I gave up the l...
by feiyue
30 May 2019, 01:03
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 644
Views: 240986

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

At present, the commentary text can not be a space, :headwall: the clever way is to replace the space with a non-conflicting character. :xmas: For example (If you want to find "o k"): Text.="|<o>**50$10.7lna7kD0w3kD0q7QMT8" Text.="|<k>**50$9.870M30M30Nv6NXMT3wNX6Mv3ww" ; The data of the space charac...

Go to advanced search