if I have a variable that I want to send to the screen
it is send>Variable or send>%variable%
simple one
Moderators: Dorian (MJT support), JRL
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
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:
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!
Bob
A humble man and PROUD of it!
Re: simple one
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%.pinkpanther wrote:if I have a variable that I want to send to the screen
it is send>Variable or 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]
[email protected]