A naive question, how, if possible at all, can I assign the output of a third-party utility to a variable, and then work from there? I mean without having to redirect the output to a file and then read from it.
I got interested in this due to the tremendous potential of the Custom Columns / Scripted Columns. I like it very much that image dimensions can now be displayed in a column, but not video dimensions. So I thought maybe there's a way to hook MediaInfo to XY?
For instance, there's a neat command
Code: Select all
mediainfo --output=Video;%Height% C:\video.mp4
But is it possible to directly assign this output to an XY variable?
In case it's not doable yet, I am also wondering if Don would be interested in looking into this possibility? (That could open up a new world, making use of any command-line tools, MediaInfo is just one example to make Custom columns work with most video files.)
Thank you very much!
XYplorer Beta Club