Gabrielh Posted December 24, 2022 Share Posted December 24, 2022 Hello all, I'm getting to know the File Filter feature in the Workflows: I understand it's possible to filter down file types. However, I'd like to filter down files which file names contain a specific string of text, in this file filter (without giving this as an extra parameter — so kind of like a default variable). Is this possible, and if so, how? Many thanks in advance for your help and best! Link to comment
sepulchra Posted December 25, 2022 Share Posted December 25, 2022 could the Fields tab work for you? it looks like you could include a string from a variable... If i understand this correctly, you should be able to create a variable with your string and then add the to the value fields.... or if you have a constant string it looks like you can add it there as well. I don't have a good example but would be curious to see how you set it up. Link to comment
Gabrielh Posted December 28, 2022 Author Share Posted December 28, 2022 Thanks sepulchra for this suggestion. I have indeed found this tab, but couldn't make it to work for this particular problem. If anyone has any idea: thanks for your input! Link to comment
sepulchra Posted December 31, 2022 Share Posted December 31, 2022 Yes I just tried this multiple ways without any luck. Link to comment
sepulchra Posted January 13, 2023 Share Posted January 13, 2023 @vitor I know you have a ton on your plate but do you know the answer to this? I'm curious about @Gabrielh's question here and have tried to sort it out. How should a constant string be used in that fields section? Link to comment
vitor Posted January 13, 2023 Share Posted January 13, 2023 As way of example, this works to filter for .alfredworkflow files: All I did was change the Value for the kMDItemDisplayName. sepulchra 1 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