Memo Stops Updating

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
moonspoon
Newbie
Posts: 3
Joined: Thu Mar 14, 2019 10:07 pm

Memo Stops Updating

Post by moonspoon » Mon Apr 15, 2019 5:40 pm

Hell there,
I have a Memo Box that I update using this code: SetDialogProperty>Dialog1,MSMemo1,Text,Test Text. I use this to inform the user where in the process the code it currently performing. After I use the code above about 15 times the memo box stops updating and will not update. Is there a limit to the about of times one can change the property of a memo inside a dialog or script? Thank you for your help.

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

Re: Memo Stops Updating

Post by Marcus Tettmar » Wed Apr 17, 2019 4:53 pm

Hi,

No, there's no limit at all. Not sure why this is happening. Perhaps try adding a small delay before the SetDialogProperty:

Wait>0.02
SetDialogProperty>Dialog1,MSMemo1,Text,Test Text

Does that help?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

User avatar
JRL
Automation Wizard
Posts: 3262
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Re: Memo Stops Updating

Post by JRL » Sat Apr 20, 2019 2:31 am

"Text" is the Dialog1 MSMemo1 property. Remove "text" from all variables. If the value of "text" becomes, for example, "1234". You have effectively changed
SetDialogProperty>Dialog1,MSMemo1,Text,variable
to
SetDialogProperty>Dialog1,MSMemo1,1234,variable

Post Reply