Hi,
I'm trying to create a workflow that adds a watermark to a PDF. I'd like to choose the watermark from a list but I'm not sure how to achieve this. Should I use a filter, a script-filter, or something else?
Steps are as follows:
1. Select PDF-file in Finder, use file-action on the PDF
2. Alfred should display a list with watermark options. Ideally this is a dynamic list, based on the watermarks it finds in a folder. A 'hard coded list' would also work.
3. Run a Ruby-script that adds the selected watermark (step 2) to the PDF (step 1).
I'm able to do steps 1 and 3, but can't figure out which Action/Filter/Utility I should use for step 2.
I've made a simple Ruby-script that queries a folder of Watermark-files and outputs them as Alfred-list-items (json-format). But I don't know how to connect it to the workflow as a second step.
Any help would be greatly appreciated.
Thanks,
Bart Visser