How to pass a variable from a macro to other macro?

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
Gustavo

How to pass a variable from a macro to other macro?

Post by Gustavo » Fri Jan 28, 2005 7:46 pm

I Know taht is with the command Macro>Myfile.scp /=valor
Let>valor=Myname
Or some thing so

Thanks for answer

User avatar
Captive
Macro Veteran
Posts: 213
Joined: Sun Oct 20, 2002 8:37 pm
Location: Colorado, USA

Post by Captive » Fri Jan 28, 2005 11:05 pm

'MacroA.scp
Macro>MacroB.scp /valor=onions

'MacroB.scp
MessageModal>You gave me %valor%

(It should present "You gave me onions")

Note: you may need to include the full path to the .scp file.

Guest

Post by Guest » Sat Jan 29, 2005 2:25 pm

It work fine.

Thanks you, Captive

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