Search found 5 matches

by kmarlowe
Thu Jul 02, 2020 2:25 pm
Forum: Beginners
Topic: Retrieving text from a terminal window
Replies: 3
Views: 5361

Retrieving text from a terminal window

Need to know when the terminal window I'm running my scripts against returns a different value than the default. For example, in the first screen capture below, the terminal gives a COMMENTS: prompt and my script can just start entering data: Select EQUIPMENT INV. ENTRY NUMBER: 40563 PHYSICAL INVENT...
by kmarlowe
Thu Jul 02, 2020 12:51 pm
Forum: Beginners
Topic: Variables and delimiters
Replies: 3
Views: 4805

Re: Variables and delimiters

Yup, that fixed it. Was driving me crazy. Thanks.
by kmarlowe
Thu Jul 02, 2020 12:38 pm
Forum: Beginners
Topic: Variables and delimiters
Replies: 3
Views: 4805

Variables and delimiters

Simple script to read a number from a text file and enter it in another window: ReadLn>U:\validpings.txt,i,nextline /* read the next EE from the file (line i)*/ SetDialogObjectFocus>Reflection Workspace - [VISTA Hampton], If>line<>##EOF## sendtext>%nextline%%CR% /* send the EE number */ sendtext>%to...
by kmarlowe
Thu Jul 02, 2020 12:26 pm
Forum: Beginners
Topic: Can't open a dialog box
Replies: 5
Views: 5872

Re: Can't open a dialog box

Awesome, thanks, yes.

Why does the variable strline not need % in the ReadLn, but needs them in the Message?
by kmarlowe
Tue Jun 30, 2020 8:11 pm
Forum: Beginners
Topic: Can't open a dialog box
Replies: 5
Views: 5872

Can't open a dialog box

Was having trouble opening a file for Readln, so I decided to try a simple snippet: ReadLn>C:\temp\validpings.txt,1,strLine Show>Hi,strLine … and this gives me the following error dialog: "Error in: test Line: 5 - Cannot Show Dialog HI. Not Found" I tried a scorched-earth reinstall (deleting directo...
Sign up to our newsletter for free automation tips, tricks & discounts