File type action: getting file name only (SOLVED)

I'm trying to create a "Convert to PNG" action for .exr files so I created a new action for that file type.
Right now I have this call to run an application:

"C:\Program Files\ImageMagick-7.0.8-Q16\magick" convert %1 file.png

Having a hardcoded filename there is of course not what I want but I have no idea how to get the file name only. I tried those "External control codes" like {file} but they don't work. (I can't even replace %1 with {allfilepath} as seen in the photoshop example in the docs.)
What am I missing?

Ahhh, I see what's wrong: I made a "Run an appclication" action when I should have created a "Run an Opus function" one. All good! :slight_smile:

1 Like