Hey guys and gals.
I decided to try my hand at creating an action to scratch an itch and hopefully learn along the way. I've managed to get relatively far, but now I'm stuck and need some help. Let me set the scene:
I've got a script that performs a search and returns some files (paths really). I've also managed to set the action and action argument to open said files with a specific app. Now I'd like to go one step further and offer users (i.e.: me) a little more choice. This is where I hit a wall. If I just use my default script, I can't press tab on the result to open it with any app of choice (when I select a result, it's only actionable with return). I then tried the suggestionsScript route, but that only passes the result to my default script.
What I would like is one of two options:
1. With the default script, press a modifier key and open with app A or app B if I use another or no modifier key;
2. Or, go the children route and show the file and list of pre-defined apps with which to open it. I'd like this one more, but am hitting a wall on how to implement it.
Any help will be appreciated. I'm using python for the scripts, but broad explanation will do, or even a similar action in another language would suffice.
Thanks in advance