Variables in a Variables?

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
Jmac2501
Pro Scripter
Posts: 76
Joined: Tue Nov 15, 2005 8:11 pm

Variables in a Variables?

Post by Jmac2501 » Tue Dec 18, 2007 10:14 pm

I know this is a simle question but how can i get a Variable to work inside a Variable?

exp.

gettime>time1
wait>5
gettime>time2
let>x=0
let>x=x+1
send>%time%x%%
let>x=x+1
send>%time%x%%

this isn't my script but in the same kind of format. Any help?

Thanks

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

Post by Marcus Tettmar » Tue Dec 18, 2007 10:20 pm

gettime>time1
wait>5
gettime>time2
let>x=0
let>x=x+1
Let>tmp=time%x%
send>tmp
let>x=x+1
Let>tmp=time%x%
send>tmp
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

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