tonio Posted March 20, 2013 Posted March 20, 2013 When I've set "Argument Required" on my script filter, I notice that the options list isn't populated until I start typing an argument. With "Argument Optional", it's populated as soon as I type the keyword. Is there any way to force the list to be populated with "Argument Required"? I'd like to show the user a list of possible arguments to pick from, without requiring them to "guess". Or, alternatively (and possibly better), have there be a default argument when none is selected.
Tyler Eich Posted March 20, 2013 Posted March 20, 2013 When I've set "Argument Required" on my script filter, I notice that the options list isn't populated until I start typing an argument. With "Argument Optional", it's populated as soon as I type the keyword. Is there any way to force the list to be populated with "Argument Required"? I'd like to show the user a list of possible arguments to pick from, without requiring them to "guess". Or, alternatively (and possibly better), have there be a default argument when none is selected. I think http://www.alfredforum.com/topic/96-understanding-argument-types-in-keywords-and-script-filters/ will help you. It explains the behavior of each input method. Cheers
tonio Posted March 20, 2013 Author Posted March 20, 2013 I think http://www.alfredforum.com/topic/96-understanding-argument-types-in-keywords-and-script-filters/ will help you. It explains the behavior of each input method. Cheers It does, and it confirms my fear... the script won't run if the argument is required until you start typing an argument. Is this behavior set in stone? It seems kind of arbitrary to me... in fact, it would make more sense the other way around: if the argument is required, present the options; if it's not, don't present any options unless and until the user starts typing one (since it's entirely valid not to enter an option).
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