rob213 Posted August 21, 2020 Share Posted August 21, 2020 (edited) In @Vero 's Dynamic File Search workflow, what is the added value of the JSON script and the 2nd file filter ? thank you Edited August 21, 2020 by rob213 Link to comment
Andrew Posted August 21, 2020 Share Posted August 21, 2020 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/ rob213 1 Link to comment
rob213 Posted August 21, 2020 Author Share Posted August 21, 2020 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
Andrew Posted August 21, 2020 Share Posted August 21, 2020 @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
rob213 Posted August 21, 2020 Author Share Posted August 21, 2020 Now it's crystal clear. thank you @Alfred I will admit to being an idiot, and sorry for the many questions Link to comment
deanishe Posted August 21, 2020 Share Posted August 21, 2020 1 hour ago, rob213 said: thank you @Alfred That was Andrew. Alfred doesn't post on the forum. Not yet, at any rate. dfay and rob213 1 1 Link to comment
rob213 Posted August 21, 2020 Author Share Posted August 21, 2020 2 hours ago, deanishe said: That was Andrew. Alfred doesn't post on the forum. Not yet, at any rate. yes, sorry Andrew Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now