Create a simple dialog with memo box

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
nskd
Newbie
Posts: 15
Joined: Wed May 29, 2019 2:02 pm

Create a simple dialog with memo box

Post by nskd » Wed May 29, 2019 2:12 pm

Hi,

I’m new to MS. How can I write a dialog with only a Memo box to display the contents of a .txt file?

I do not want any “Button” or “Enter” key to trigger the display of the txt file.
To put it simply, when the dialog is launched, it will immediately show the contents of the text file.

User avatar
Grovkillen
Automation Wizard
Posts: 1131
Joined: Fri Aug 10, 2012 2:38 pm
Location: Bräcke, Sweden
Contact:

Re: Create a simple dialog with memo box

Post by Grovkillen » Wed May 29, 2019 5:42 pm

You would then go a "read file" and add it's contents as the memo box text by using the "add dialog property". Please try yourself and submit any code if you still need help.
Let>ME=%Script%

Running: 15.0.27
version history

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