giovanni Posted March 14, 2021 Share Posted March 14, 2021 After launching a workflow with a hotkey or keyword, If you enter no arguments and hit return -> nothing happens. Is there a way to trigger an event (for example, showing a help page) with that action (ie pressing enter instead of entering an argument)? For example, the user would start the workflow with a hotkey or keyword then press return (instead of entering an argument) to show a help window in large font. thanks! giovanni Link to comment
deanishe Posted March 14, 2021 Share Posted March 14, 2021 RETURN works on results. If you want an action for "no query", have your Script Filter send Alfred a single "Press ↩ for Help" result, the add some "if arg == 'show-help' then open help.html" logic. giovanni 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