I am trying to create a simple Automator service to quickly change metadata on photos. I would like to be able to select x amount of files, run the service, and get a popup that asks for the f-number I want to change to: At the moment this is set up to grab selected files in finder, and run the following terminal command: exiftool -FNumber="1.8" -overwrite_original_in_place "$@" (exiftool us an application used to edit metadata) This command works, but the FNumber is hardcoded to 1.8. I would like to be able to dynamically specify the f-number via the "Ask for text" command. However, I don't know how I can ask for text and use the selected files as inputs at the same time. Does anyone know how these variables should be defined, and how they can be passed to a shell script?