Jump to content

Detect action modifier use with script filter


Recommended Posts

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.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...