simple one

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
pinkpanther
Newbie
Posts: 9
Joined: Tue Aug 09, 2005 3:39 pm

simple one

Post by pinkpanther » Wed Aug 10, 2005 3:36 pm

if I have a variable that I want to send to the screen
it is send>Variable or send>%variable%
Pinkpanther

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Wed Aug 10, 2005 6:08 pm

You need to send it to a window on the screen.
And you must be sure the window is ready to accept inputs.
And you need to set focus in that window
And you must have the cursor in some position to accept the Send> command.

Someting like this:

Code: Select all

WaitWindowOpen>WindowName*
WaitReady>1
SetFocus>WindowName*
Tab*4
Send>My text to window goes here
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Re: simple one

Post by support » Thu Aug 11, 2005 6:35 am

pinkpanther wrote:if I have a variable that I want to send to the screen
it is send>Variable or send>%variable%
It doesn't matter unless you have chosen to set VAREXPLICIT=1. Unless you have done this Send>Variable is no different to Send>%Variable%.

With VAREXPLICIT set to 1, however, the first will send the literal string "Variable" and the second will send the contents of Variable.

See "Explicit Variable Resolution - VAREXPLICIT" under Command Reference / Using Variables in the documentation.
MJT Net Support
[email protected]

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