Variable ... x=1* [Resolved]

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
ABIVEN
Pro Scripter
Posts: 71
Joined: Sun Aug 07, 2005 7:22 pm
Location: PARIS

Variable ... x=1* [Resolved]

Post by ABIVEN » Wed Oct 05, 2016 4:39 am

Hello

I have to send x=1*r0 to another application
Usually the short example thereafter works well
r0 is a very very large integer and x is x

let>W=r0
let>Y=x=1*
concat>Y,W
wait>0.2
PutClipBoard>Y
press ctrl
send>v

Sometimes there's a problem

Is let>Y=x=1* the right way ?

Regards
Last edited by ABIVEN on Wed Oct 05, 2016 5:41 pm, edited 1 time in total.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Variable ... x=1*

Post by Marcus Tettmar » Wed Oct 05, 2016 1:41 pm

I would just do:

PutClibBoard>{"x=1*r0"}

Or just:

Send>{"x=1*r0"}

With Send you don't have to use the clipboard and do ctrl-V
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

ABIVEN
Pro Scripter
Posts: 71
Joined: Sun Aug 07, 2005 7:22 pm
Location: PARIS

Re: Variable ... x=1* [Resolved]

Post by ABIVEN » Wed Oct 05, 2016 5:44 pm

Thanks Marcus

Good tip and just do that : Send>{"x=1*%r0%"}

Regards

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