Search found 19 matches

by Enricoys
Tue Feb 23, 2021 4:38 pm
Forum: Technical / Scripting
Topic: OCR language
Replies: 11
Views: 678

Re: OCR language

Great job! Works perfect now, especially with the 'tessdata_best' files.
by Enricoys
Thu Feb 18, 2021 11:13 am
Forum: Technical / Scripting
Topic: OCR language
Replies: 11
Views: 678

Re: OCR language

I actually use the Macro Scheduler CopyFile function. I tried RenameFile now, however that didn't work (CF_Result_code=124). Probably indeed because it is the 'Program Files (x86)' folder. Anyway, no problem. DeleteFile and CopyFile work fine in this folder. I don't need to restart Macro Scheduler t...
by Enricoys
Thu Feb 18, 2021 9:42 am
Forum: Technical / Scripting
Topic: OCR language
Replies: 11
Views: 678

Re: OCR language

Thanks Dorian. As a work around I now rename the trained data from another language to 'eng.traineddata' into the tessdata folder. This works fine and gives indead better results for that language. Mixed language is not possible in this way, however that is not a big deal.
by Enricoys
Tue Feb 16, 2021 4:05 pm
Forum: Technical / Scripting
Topic: OCR language
Replies: 11
Views: 678

Re: OCR language

Thanks Dorian for your quick reply. Do I understand you right that OCR actually use always all the language (training) files found in the tessdata folder? If yes, that would suit perfect for me because OCR would in this way also work for images with mixed languages. Great!
by Enricoys
Tue Feb 16, 2021 1:01 pm
Forum: Technical / Scripting
Topic: Gettextinit freezes debugger
Replies: 18
Views: 10746

Re: Gettextinit freezes debugger

Hi Marcus, can you tell when more improvement can be expected on this subject. I use 15.0.16 (on Win10 64 bit) and still remain to have the same issues. Clearly related to Gettextinit. As long as I run the script without calling Gettextinit I can continue debugging as normal. As soon Gettextinit is ...
by Enricoys
Tue Feb 16, 2021 12:50 pm
Forum: Technical / Scripting
Topic: OCR language
Replies: 11
Views: 678

OCR language

Is it possible to use the OCR functionality for another language. In the tessdata folder the English 'eng.traineddata' file is installed. At Github I downloaded a few files for other languages however how can I instruct MS to use those? The OCR_LANGDIR settings only refers to the folder and therefor...
by Enricoys
Thu Oct 01, 2020 8:42 am
Forum: Technical / Scripting
Topic: Gettextinit freezes debugger
Replies: 18
Views: 10746

Re: Gettextinit freezes debugger

What is the status of this issue? I observe exactly the same using this code: repaint issues and out of resources. Only solution is to kill MSched using the Task Manager. I use Windows 10 pro (10.0.18363) x64 and Macro Scheduler 15.0.13. Actually, I started to observe those issues in my scripts sinc...
by Enricoys
Mon Apr 06, 2020 9:04 am
Forum: Technical / Scripting
Topic: Max length integer 19 positions
Replies: 2
Views: 1050

Max length integer 19 positions

I observe the following issue when I read a long string from a CSV file. Sometimes this string is actually a long integer. If this integer is longer then 19 positions I get an error message when I perform an empty string check. Unfortunately the strings in the CSV file are not surrounded with quotes...
by Enricoys
Mon Mar 23, 2020 4:09 pm
Forum: Enhancement Suggestions
Topic: TimeDiff interval check
Replies: 2
Views: 2569

TimeDiff interval check

Over the last months I noticed a very strange behaviour with on one of my large scripts. I couldn't find the problem because it was each time something else what happened, however it looked like that was caused by a memory issue. Now I found the problem. Somewhere in the script I used a variable nam...
by Enricoys
Mon Oct 23, 2017 2:44 pm
Forum: General Discussion
Topic: Changed string behaviour version 14.4.01
Replies: 1
Views: 1405

Changed string behaviour version 14.4.01

I observed a change in string processing behaviour in version 14.4.01. See the test code below. Is this intended to do so? If yes, fine although I have to spend serious time in rewriting my scripts. If not, then I will wait until this bug is removed. Let>quote=" Let>FN=ABCD Let>merge={%FN%+%quote%+"...
by Enricoys
Mon Oct 16, 2017 10:36 am
Forum: Enhancement Suggestions
Topic: XMLparse empty tag
Replies: 2
Views: 3887

XMLparse empty tag

Unfortunately I hoped that in the new version 14.4.01 an annoying problem with XMLparse would have been solved. However, I still see a system error occurring as soon as XMLparse is used for an empty tag. Now I have to make a relatively complex check before I can use XMLparse. I would guess that it i...
by Enricoys
Mon Oct 16, 2017 10:27 am
Forum: General Discussion
Topic: decimal separator problem
Replies: 1
Views: 1426

decimal separator problem

With version 14.4.01 a problem occurred which didn't happen before. My default decimal separator on my Windows 7 system is a comma because I run it with the Dutch language version. To make calculations possible in MS I always start a script with those two lines: Let>DECIMAL_SEPARATOR=. Let>THOUSAND_...
by Enricoys
Mon Jun 20, 2016 1:25 pm
Forum: Technical / Scripting
Topic: Onevent WINDOW_OPEN and WINDOW_ACTIVE do not work properly
Replies: 6
Views: 4008

Re: Onevent WINDOW_OPEN and WINDOW_ACTIVE do not work proper

Problem solved. The solution was indeed to run an 'OnEvent>WINDOW_OPEN,...' macro in the background checking for this window title. I had no problem by matching the window name. In the part of original script where I need to check for this message I start the background macro using 'RUN>' and later ...
by Enricoys
Fri Jun 17, 2016 2:49 pm
Forum: Technical / Scripting
Topic: Onevent WINDOW_OPEN and WINDOW_ACTIVE do not work properly
Replies: 6
Views: 4008

Re: Onevent WINDOW_OPEN and WINDOW_ACTIVE do not work proper

Thanks JRL. Your reply helped me to understand that I have to run first a macro in background which does the job. I work with compiled macro's so I did it that way. I'am still not sure whether it solved my problem. Reason is that the original macro runs as an exe on a system were the message 'No dat...
by Enricoys
Wed Jun 15, 2016 7:01 pm
Forum: Technical / Scripting
Topic: Onevent WINDOW_OPEN and WINDOW_ACTIVE do not work properly
Replies: 6
Views: 4008

Re: Onevent WINDOW_OPEN and WINDOW_ACTIVE do not work proper

Thanks JRL for your quick reply. The reason why I made this example is that originally I had this problem with a pop-up window 'Message of webpage' showing the error 'No data received'. This pop-up window is also a modal window which I assumed could be handled with the OnEvent method. Unfortunately ...
cron
Sign up to our newsletter for free automation tips, tricks & discounts