Page 1 of 1

How to pass highlighted file name as argument?

Posted: 09 Dec 2016 20:12
by zBernie
What I'd like to do is highlight a file in XY, then pass that file name to the ImageMagick convert command shown below, as $1. How would I go about adding this to a user defined button? I guess that would be the best approach.

-Thanks

convert $1 -resize 667x1000! -quality 100 $1.RESIZED

Re: How to pass highlighted file name as argument?

Posted: 09 Dec 2016 20:32
by highend

Code: Select all

<curitem>
But you need to get the quoting right (same way as in your other post)