I'm not sure how to title my question, so hopefully you are reading this (!). I'll just describe what I am trying to accomplish and hopefully someone can help me out.
I use Taskpaper for my todos, synced via Dropbox, so all of my Taskpaper files are stored in ~/Dropbox/Taskpaper.
I want to create a workflow to rapidly add a task to the Inbox project of a selected file, so the syntax would be something like:
tp <filename> <text of item to enter> [@tag @tag]
Easy enough so far. However, what I was hoping to do is, when the "tp" command is first entered, present a listing of all of the taskpaper files in that folder so that I can see the list and decide which one to type for the task entry. Also easy enough.
But (and here's my question, finally): what I would also like to be able to do is to select once of those files, either with the arrow keys and hitting enter, with a mouse click, or with a command-number keypress, and have the name of that file then entered in the Alfred command box, and then I can continue typing the rest of the entry. I don't see anyway to make that happen.
I think I could do this by chaining workflows via osascript as has been detailed in one of the pinned postings, but that's not completely ideal, especially with the flashing of the Alfred dialog box, so it isn't elegant.
Is there a way to accomplish this?
Thanks!