Author Topic: Can you use a variable in the parameters sent when opening an application?  (Read 2888 times)

MstrBlonde

  • Guest
My google-fu has failed me. I'm just wondering if I can take a variable and plug it into the "With these parameters" box to run an application.

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2826
Re: Can you use a variable in the parameters sent when opening an application?
« Reply #1 on: September 03, 2016, 12:00:27 AM »
Not a variable directly, but you can use a token in the parameter box.  So, you can set a text variable (called, 'myVariable') to '-someParameterValue', and then put {TXT:myVariable} in the box.  {TXT:myVarable} in this case will resolve to, '-someParameterValue' when it is run.

Tokens are used (versus straight variables) so you can have multiple items in the box that will be parsed out into a string. 

Hope that helps some!

MstrBlonde

  • Guest
Re: Can you use a variable in the parameters sent when opening an application?
« Reply #2 on: September 03, 2016, 01:16:16 AM »
Thanks Gary, that's what I was looking for. Worked like a charm.