rounak Posted September 4, 2016 Share Posted September 4, 2016 Script Filter Details: 1. Keyword: @fp (@fp:find product) with space Argument Optional 2. Checked "Alfred filters results" 3. Script: cat <filename>.json When typed query does not match filter results, Alfred shows fall back results. I want to perform action, when the typed query does not match filter results. How to do it? I am assuming, I have to remove "Alfred filters results" check box. Then, check if query argument exists in the json file. If not, I can perform action via applescript but if it does exist, then how to do what Alfred does when it filters results? Link to comment
deanishe Posted September 4, 2016 Share Posted September 4, 2016 Alfred isn't really designed around the idea of workflows having their own fallback actions when there are no results. It's doable, but you're fighting the way Alfred wants to work (you choose a result and Alfred passes it to the next action). What exactly are you trying to achieve? Like, what do you want the workflow to do (not how do you want it to work)? Link to comment
rounak Posted September 4, 2016 Author Share Posted September 4, 2016 Alfred isn't really designed around the idea of workflows having their own fallback actions when there are no results. It's doable, but you're fighting the way Alfred wants to work (you choose a result and Alfred passes it to the next action). With this in mind, I will change my approach and start fresh. 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