My workflow should like the following:
- When I enter the keyword `randy`
- Alfred searches for a random markdown file with folder XY
- The output gets opened with my Markdown editor (iaWriter)
What I tried:
- ✅ Keyword setup
- ✅ `find FOLDER_NAME | /usr/local/bin/shuf -n 1` (returns a filename with complete path)
- ✅ Output filename in large type (shows me full path)
- 🛑 (v1) Open File; Setting: "Open the passed-in file" WITH "iA Writer"
- 🛑 (v2) Run script (Bash): `open $query -a /Applications/iA\ Writer.app`
- 🛑 (v3) Open URL (using iaWriter URL scheme): `ia-writer://open?path={query}`
How could I solve this challenge?