Jump to content

Multiple File Action (Alfred Way) v4


Recommended Posts

My idea is

- select some files. 

- execute a file action (with multiple files) 

- for each file execute a script

 

import sys

query = "{query}"
values = query.split("\t")
for v in values:
	execute ..........  action with (parameter(v))

 

My idea is connect action with a script and use this code to split the query.

I think this is not the right way to do that in Alfred. 

Any suggestions ? 

 

Now my structure is

File action + script (with the code previous) 

 

I think is better to use

File action + an Alfred object how execute for each file a script + the script that performs the action. 

 

 

Edited by bm1x
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...