Multiple arguments for a variable

Started by javiavid, March 24, 2021, 07:14:53 PM

Previous topic - Next topic

javiavid

In the attached image I have a column called codec__, inside appear different texts and I would like to be able to format them. I have seen that with the arguments it is possible to do some operations, but I am not clear if I can use several arguments consecutively. This column is created by a variable called {application.variables.codec__}


- Is it possible to join these arguments to be able to do several operations at a time?


For example:

1st Line - Convert AVC1 into H264 (current text: AVC1)

{Application.variables.codec__ | Replace: AVC1 == H264}

2nd Line - which only appears cineform (current text: QuickTimecfhgcineform)

{Application.variables.codec__ | Contains: cineform,cineform}



-If it is not possible to mix arguments, is it possible to add arguments of the same type?

For example:

With the following text, which only the words allowed QuickTime and DNXHD appear

QuickTime Prores DNXHD H264 DV

And it becomes this:

QuickTime DNXHD.


Thanks


Mario

Use ; to separate variable functions. They are processed from L2R, with some rare exceptions.
Use the Var Toy app included in IMatch for testing variables. Very handy, immediate feedback. Can store variables in a history for later recall.
And of course Formatting Variables
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook