Jump to content

what does “sets the folder dynamically”mean ?


Recommended Posts

The {} JSON configuration utility object is a very advanced workflow object which allows you to have full control over the data and configuration of a workflow. In this case, the result from File Filter 1 passes a folder to the JSON Config util, which then dynamically configures File Filter 2 to use that folder as part of its configuration, specifically, the Search Scope configuration.

 

Here is the help page for the JSON configuration:

https://www.alfredapp.com/help/workflows/utilities/json/

Link to comment

thank you @Andrew 

The reference in question is quite technical. 

could you give one or more practical examples of what the addition of the  JSON script + extra filter allows you to do as as opposed to using  only one filter, and I suggest you add the examples to the documentation.

I'm sorry for bothering you with questions. I think that it's normal that I understand it as an Alfred user, especially in view of the fact that maman @Vero's dynamic file filter is quoted so often in the forum. 

thanks again

 

Link to comment

@rob213 the purpose of The Dynamic File Search workflow is a 2 part search, the first part is to find the folder you want to limit your search within, and the second part is to find a file in the selected folder.

 

File Filter 1 is configured to only find folders.

File Filter 2 is configured to find any files.

 

You open the workflow and type the workflow's keyword and part of a folder name, for example:

 

ff desk

 

Select "Desktop" and you're taken to a second input to search for files. This second search has been configured using the Desktop folder you selected to only search within the Desktop folder, so when you now start typing a filename such as:

 

accounts

 

Alfred will only show you files matching this keyword within the Desktop Folder.

 

Cheers,

Andrew

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...