I'm working on v2 of https://github.com/willfarrell/alfred-pkgman-workflow Currently I'm passing in the {query} to a script filter and on enter passing the url in the `arg` param to a `Open URL` action. The urls follow no pattern sadly.
In V2 I would like to be able to press `cmd` and have a custom string copied and pasted into a package file instead of the url. Is there a way to detect what action modifier is being pressed from within the script filter, {action}, to allow the script filter to change the arg being passed?
I'm trying to keep the workflow as clean as possible and easy to extend in the future.