Search found 39 matches

by paulpma
Today, 01:16
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 515
Views: 171698

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

To my knowledge the way findtext works you would have to capture the image at each scale size that you want it to be found and then use capture strings as a library for findtext.. I hope it helps to understand..
by paulpma
22 May 2020, 23:23
Forum: Scripts and Functions
Topic: Vis2 - Image to Text OCR()
Replies: 225
Views: 60540

Re: Vis2 - Image to Text OCR()

Don't call Gdip_Shutdown() and see if that works. Yes, it worked.. I am just wondering what happened in background that created this issue? I wrote a new image library to do what you're doing now :) That is awesome that you can do that. I am happy for you. I am wondering why write another one if GD...
by paulpma
22 May 2020, 09:03
Forum: Scripts and Functions
Topic: Vis2 - Image to Text OCR()
Replies: 225
Views: 60540

Re: Vis2 - Image to Text OCR()

I am using GDIP with VIS and other application as well and getting an error. This happends all the time when after other application has used GDIP library and when i am to manually selecting text in VIS.. Error occurs immediately after selection. See error image for details. The line of error in GDI...
by paulpma
22 May 2020, 08:50
Forum: Scripts and Functions
Topic: Vis2 - Image to Text OCR()
Replies: 225
Views: 60540

Re: Vis2 - Image to Text OCR()

Hi, @AHKMode
I have tested your given script and getting same results.... I think its not working because of the way VIS script was designed... Have you tried the third method??
by paulpma
19 May 2020, 01:22
Forum: Scripts and Functions
Topic: Vis2 - Image to Text OCR()
Replies: 225
Views: 60540

Re: Vis2 - Image to Text OCR()

@AHKMode
use

Code: Select all

 MouseClickDrag
https://www.autohotkey.com/docs/commands/MouseClickDrag.htm

or

Code: Select all

SendEvent {Click 6, 52, down}{click 45, 52, up}
or

Code: Select all

text:=OCR(x,y,x1,y1)
; see help file.. (last example most likely to work)
by paulpma
15 May 2020, 09:18
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 515
Views: 171698

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

I know FindText has Screen Shot feature, but I am not sure how to use it the following scenario.. I need screenshot to be taken so the window can be closed (important) then FindText work on the screen shot that was taken before window was closed. Is this possible? I have seen BindWindow and BindWind...
by paulpma
09 May 2020, 21:28
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 515
Views: 171698

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

chaoscreater wrote:
09 May 2020, 04:55
Is it possible to edit an existing image found by FindText? Like, can we paste the code back into the software to make a quick edit?
Not possible.
by paulpma
07 May 2020, 09:25
Forum: Ask For Help
Topic: Efficient way to remove elements from array Topic is solved
Replies: 15
Views: 2324

Re: Efficient way to remove elements from array Topic is solved

@jeeswg

Code: Select all

MsgBox, % JEE_ObjList(Array)
Would you be willing to share JEE_ObjList.. I have searched forum / web and had no luck. Thank you very much.
by paulpma
01 May 2020, 22:51
Forum: Scripts and Functions
Topic: Vis2 - Image to Text OCR()
Replies: 225
Views: 60540

Re: Vis2 - Image to Text OCR()

10 second difference?? text := OCR() vs. text := OCR([21,33,750,540]) *captured area and image is the same.. I have noticed that using selection tool is much faster (~about 10 seconds faster for my amount of text) compared to specifying coordinates.. In my thought process it should be the opposite o...
by paulpma
01 May 2020, 22:09
Forum: Scripts and Functions
Topic: Vis2 - Image to Text OCR()
Replies: 225
Views: 60540

Re: Vis2 - Image to Text OCR()

I have looked at the Vis2 file and it seems too complex to disable clipboard. However i have found simple solution.

Code: Select all

text:= OCR()
clipboard =  ;clear
Thank you all.
by paulpma
25 Apr 2020, 00:16
Forum: Scripts and Functions
Topic: Vis2 - Image to Text OCR()
Replies: 225
Views: 60540

Re: Vis2 - Image to Text OCR()

Hello, Have been using text:= OCR() I see that text also is copied to clipboard, is there a way to disable copy to clipboard feature? or just edit few lines in VIS2.ahk? or is this even possible without major coding? The reason why I am asking. I need to run multiple OCR and would to prefer to keep ...
by paulpma
21 Apr 2020, 22:35
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 515
Views: 171698

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

Example how to use OCR function in the FindText version 7.5. I didn't find any info from posts. Hopefully it will help someone.

Code: Select all

FText:=FindText_OcrOK(FindText(0, 0, 600, 600, 0.01, 0, TxtLetters))
Txt:=FText.ocr
MsgBox, % Txt
by paulpma
21 Apr 2020, 21:50
Forum: Scripts and Functions
Topic: Vis2 - Image to Text OCR()
Replies: 225
Views: 60540

Re: Vis2 - Image to Text OCR()

Iseahound thank you for fast reply. I really appreciate it. So you just want the grey box with no subtitles at all? That's a weird request. Comment out every instance of Vis2.obj.subtitle.render I did something similar, but in places where it was really needed. Sorry, I misunderstood options="" para...
by paulpma
21 Apr 2020, 12:42
Forum: Scripts and Functions
Topic: Vis2 - Image to Text OCR()
Replies: 225
Views: 60540

Re: Vis2 - Image to Text OCR()

Hello all, Has anyone found an option to disable subtitles (preview of text) on the screen. I have tried the following, but no luck: text:= Vis2.OCR(,,,{"bypass":true}) text:= Vis2.OCR(,,,bypass:=true) text:= Vis2.OCR(,,bypass:=true) text:= OCR(,,textPreview:=false) text:= OCR(,,{"textPreview":false...
by paulpma
28 Mar 2020, 00:57
Forum: Ask For Help
Topic: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?
Replies: 25
Views: 1906

Re: Is afx: the doom of Autohotkey ? Does Acc.ahk help ?

Hello,

Just wondering if anyone had any updates on AFX, I have AFX OLE control to work with. FindText() is a great tool, however, when size of text is not constant and there is variability in position...

Thank you all.
by paulpma
21 Nov 2019, 11:19
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 515
Views: 171698

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

First of all I would like to thank Feiyue for the awesome work he does. Second, for someone who is curious of MCODE, I would like to add that I have verified MCODE for both x32; and x64 versions of 10.30.2019 FindText() release and have found that my generated MCODE is identical to the one that is p...
by paulpma
20 Nov 2019, 23:38
Forum: Tutorials
Topic: MCode Tutorial (Compiled Code in AHK)
Replies: 65
Views: 46746

Re: MCode Tutorial (Compiled Code in AHK)

Someone helped me.. thank you..
You have to change it under "Settings" here :thumbup: :
"Laszlo Style" for Hex
"Bentschi Style" for Base64
by paulpma
20 Nov 2019, 23:35
Forum: Scripts and Functions
Topic: MCode4GCC -- C/C++ to MCode Generator
Replies: 109
Views: 29369

Re: MCode4GCC -- C/C++ to MCode Generator

OMG.. thank you so much..
by paulpma
20 Nov 2019, 13:46
Forum: Scripts and Functions
Topic: MCode4GCC -- C/C++ to MCode Generator
Replies: 109
Views: 29369

Re: MCode4GCC -- C/C++ to MCode Generator

Hello,

Is there a way to set MCODE encoding to hex vs base64(default) in the generator?. Have been searching but without any luck. Thank you.
by paulpma
20 Nov 2019, 13:38
Forum: Tutorials
Topic: MCode Tutorial (Compiled Code in AHK)
Replies: 65
Views: 46746

Re: MCode Tutorial (Compiled Code in AHK)

Hi all, I am a bit new to MCODE, but I have managed to install compiler TDM-GCC-64\bin\gcc.exe and was able to generate MCODE. However, I have been searching for at least couple hours but can't find a way to set compiler to generate MCODE encoding in hexadecimal vs base64(the default). The function ...

Go to advanced search