cdpath Posted February 2, 2018 Share Posted February 2, 2018 (edited) Is it possible that while I type \\define useful <enter> Alfred pass the parameter (useful in this case) to the workflow? Edited February 2, 2018 by cdpath Link to comment
deanishe Posted February 2, 2018 Share Posted February 2, 2018 Not as part of the snippet, no. Use a Keyword element to enter the parameter after the Snippet Trigger fires. cdpath 1 Link to comment
GuiB Posted February 2, 2018 Share Posted February 2, 2018 (edited) To expand @deanishe suggestion, there's a "Snippet Triggers - Getting Started" example in Alfred that would show you some ways to do what you want (especially the "hellomsg" snippet). Look into "Alfred Preferences -> Workflows -> [+] -> Getting Started -> Snippet Triggers". Edited February 2, 2018 by GuiB cdpath 1 Link to comment
cdpath Posted February 3, 2018 Author Share Posted February 3, 2018 22 hours ago, deanishe said: Not as part of the snippet, no. Use a Keyword element to enter the parameter after the Snippet Trigger fires. 12 hours ago, GuiB said: To expand @deanishe suggestion, there's a "Snippet Triggers - Getting Started" example in Alfred that would show you some ways to do what you want (especially the "hellomsg" snippet). Look into "Alfred Preferences -> Workflows -> [+] -> Getting Started -> Snippet Triggers". Thanks! Those built-in examples are really useful. I'll go through them all. 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