Gettextinit freezes debugger

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
cvlr
Newbie
Posts: 18
Joined: Thu Jun 07, 2018 4:40 pm

Gettextinit freezes debugger

Post by cvlr » Thu Dec 05, 2019 4:15 pm

GetTextInit
ArrayDim>Trailers,1
If you start with F8 at the top it will pause at GetTextInit and go no further. If you Run the program and there is an ArrayDim command anywhere before or after GetTextInit it will run but then MS becomes unstable and starts to have repaint issues on the screen and eventually will give an out of memory or out of system resources messages. It also does other things like variables stop incrementing. For instance Let>i=1
then Let>i=i+1 will not increment. It stays 1. Sometimes you will get a -1 but I haven't figured out a commonality to that yet.

I am not out of system resources....

Basically anytime you have ArrayDim in the same script running with GetTextInit it will cause MS to behave erratically and eventually lock up.

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

Re: Gettextinit freezes debugger

Post by Dorian (MJT support) » Mon Dec 09, 2019 11:03 am

I just replicated some anomalies with this too. Oddly, not on the first runthrough. It took a few times. I will mention this to Marcus.
Yes, we have a Custom Scripting Service. Message me or go here

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

Re: Gettextinit freezes debugger

Post by Marcus Tettmar » Mon Dec 09, 2019 5:08 pm

I cannot replicate. Would kind of help to know which Macro Scheduler version and which version and bitness of Windows.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

bnc1
Pro Scripter
Posts: 125
Joined: Sun Jul 31, 2005 5:10 pm

Re: Gettextinit freezes debugger

Post by bnc1 » Wed Jan 08, 2020 4:21 pm

I have a similar problem with Gettextinit and WaitKeyDown. Macro Scheduler becomes unstable with false low on memory errors. I am running MS 14.5.5 and Windows 10 ver 1909.

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

Re: Gettextinit freezes debugger

Post by Dorian (MJT support) » Thu Jan 09, 2020 11:10 am

bnc1 wrote:
Wed Jan 08, 2020 4:21 pm
I have a similar problem with Gettextinit and WaitKeyDown. Macro Scheduler becomes unstable with false low on memory errors. I am running MS 14.5.5 and Windows 10 ver 1909.
Is that 64 bit Win 10?

To check whether you’re using a 32-bit or 64-bit version of Windows 10, open the Settings app by pressing Windows+I, and then head to System > About. On the right side, look for the “System type” entry.
Yes, we have a Custom Scripting Service. Message me or go here

bnc1
Pro Scripter
Posts: 125
Joined: Sun Jul 31, 2005 5:10 pm

Re: Gettextinit freezes debugger

Post by bnc1 » Thu Jan 09, 2020 2:03 pm

I am running Windows 10 v1909 64 bit.

This problem may be related to changes to Macro Scheduler GetWord text dlls in v14.5.5 of Macro Scheduler. I can not replicate the issue in v14.5.4. The GetWord text dlls were upgraded from 4.1.2.192 to 5.1.1.251 .

The exact MS error messages are "Out of System Resources" or "Not enough memory resources are available to process this command". My scripts seem to execute but eventually MS becomes unstable. This is similar to what the original poster had observed.

omlavi
Newbie
Posts: 1
Joined: Sun May 17, 2020 3:54 pm

Re: Gettextinit freezes debugger

Post by omlavi » Sun May 17, 2020 3:57 pm

bnc1 wrote:
Wed Jan 08, 2020 4:21 pm
I have a similar problem with Gettextinit and WaitKeyDown. Macro Scheduler becomes unstable with false low on memory errors. I am running MS 14.5.5 and Windows 10 ver 1909.
Hi, I seem to be having the same problem with Gettextinit. I'm running 64bit Win10 pro.

Thanks!

bnc1
Pro Scripter
Posts: 125
Joined: Sun Jul 31, 2005 5:10 pm

Re: Gettextinit freezes debugger

Post by bnc1 » Mon May 18, 2020 11:19 am

I continue to have this same problem with Macro Scheduler v15.0.09. Scripts with GetTextInit will eventually cause my MS session to become unstable with error messages "Out of System Resources" or "Not enough memory resources are available to process this command".

On my systems this issue started with v14.5.5 of Macro Scheduler, when the GetWord text dlls were changed. I can not replicate the issue in v14.5.4.

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

Re: Gettextinit freezes debugger

Post by Marcus Tettmar » Mon May 18, 2020 2:48 pm

I have reached out to the developers of the text capture library to see if this is a known issue or if there is an update available.
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
Sign up to our newsletter for free automation tips, tricks & discounts