I'm having trouble getting a simple Automator shell script to work. I'm trying to get an ffmpeg command line to run a task on a file that is dropped onto the application icon.
This is what I've done:
- Launched Automator.app.
- Created a new service with service receives files or folders in any application.
- Added a Run Shell Script action.
- Applied the following script:
- Saved my workflow as both service and application.
When I drop a file onto the app I get this: