How do I pass an array element as a parameter to an external command?
Code: Select all
Result[1] := "DSC01688.jpg"
Result[2] := "DSC01680.jpg"
XX := Result[1]
YY := Result[2]
run %comspec% /k ffmpeg -i "%XX%" -i "%YY%" -update true -filter_complex hstack output2.jpg
Like this, but works:
Code: Select all
run %comspec% /k ffmpeg -i "%Result[1]%" -i "%Result[2]%" -update true -filter_complex hstack output2.jpg
I'm guessing I'm baffled by the syntax