Gettextinit freezes debugger

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Enricoys
Junior Coder
Posts: 27
Joined: Mon Jan 06, 2014 1:18 pm

Re: Gettextinit freezes debugger

Post by Enricoys » Tue Feb 16, 2021 1:01 pm

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 called the MS software gets very unstable during debugging (out of resources, repainting issues). Most often I need to kill the MS process after a few debug sessions to prevent even more serious issues.
Nevertheless I still very much enjoy this software. Great job!

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1380
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Gettextinit freezes debugger

Post by Dorian (MJT support) » Tue Feb 16, 2021 1:39 pm

The situation is still the same. I had a report of it this morning. The usual workaround is the newer OCR functions.
Yes, we have a Custom Scripting Service. Message me or go here

fightcancer
Macro Veteran
Posts: 249
Joined: Fri Apr 15, 2005 8:32 am

Re: Gettextinit freezes debugger

Post by fightcancer » Sun May 16, 2021 12:06 am

So glad to find this thread as MS v. 15.0.18 crashes constantly (and only) when I use GetTextInit and GetTextInRect!

User avatar
Djek
Pro Scripter
Posts: 148
Joined: Sat Feb 05, 2005 11:35 pm
Location: Holland
Contact:

Re: Gettextinit freezes debugger

Post by Djek » Fri May 21, 2021 12:49 pm

Just to let you know; I also experience this problem.

The use of “GetTextinit” makes Macroscheduler unstable, and looks randomly but fast to result into the “out of System Resources” and “Not enough memory…” errors popping up. Nothing left to what you can do is to kill the process MSched.exe in the systray taskmanager.

I am running Windows 7 64 bit
MS pro version 15.0.18 – April 2021

Kind regards,
Djek

Maluel1
Newbie
Posts: 1
Joined: Sun Jun 20, 2021 12:34 am

Re: Gettextinit freezes debugger

Post by Maluel1 » Sun Jun 20, 2021 1:56 am

Thanks to everyone on this post. I at least know to avoid using gettextinit. I was using it for reading a text file to retrieve a large sql statement. Out of system resources and all the other errors mentioned have been seen on my computer. I'm noticing it causes my WaitScreenImage say..invalid parameters after successfully running for many hours.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Gettextinit freezes debugger

Post by Marcus Tettmar » Sun Jun 27, 2021 8:41 am

To read a text file just use ReadFile ...
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts