reading from file

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
michursky
Newbie
Posts: 2
Joined: Mon Sep 15, 2008 2:54 pm

reading from file

Post by michursky » Sat Aug 25, 2012 8:50 pm

any ideas on making a macro readinglines from a text file and then typing them into dialog box, one at a time ?

EnderFFX
Pro Scripter
Posts: 92
Joined: Mon Mar 08, 2004 6:17 am

Something along these lines

Post by EnderFFX » Mon Aug 27, 2012 4:14 pm

Let>k=1

Label>start
ReadLn>c:\temp\test.txt,k,line
If>line=##EOF##,finish
[PLACE TEXT INTO DIALOG BOX HERE]
Let>k=k+1
Goto>start
Label>finish

Can you be more specific? A dialog box you create or one from another program? Is this like a data entry thing where you put in one value, hit enter, wait till it completes, repeat?

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