Technical support and scripting issues
Moderators: JRL, Dorian (MJT support)
-
armsys
- Automation Wizard
- Posts: 1108
- Joined: Wed Dec 04, 2002 10:28 am
- Location: Hong Kong
Post
by armsys » Thu Feb 03, 2011 10:18 am
How to stop MS from "resolving" %Var%?
Refering to the following code, how to cajole "Send>" command to say "%Var%", instead of "123"?
-
Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
-
Contact:
Post
by Marcus Tettmar » Thu Feb 03, 2011 11:18 am
You could do:
Let>Var=123
Send>{"%" + "Var" + "%"}
-
armsys
- Automation Wizard
- Posts: 1108
- Joined: Wed Dec 04, 2002 10:28 am
- Location: Hong Kong
Post
by armsys » Thu Feb 03, 2011 11:24 am
Marcus,
Thanks for your help. I tried out several combinations such as Send>{"%Var%"} in vain.
My original code is more complicated. I borrow your idea and it still works brilliantly.
Thanks a lot.