MuppetGate Posted March 4, 2013 Share Posted March 4, 2013 Another question :-) How do I get hold of the parameter string using Ruby? Thanks again. Link to comment
jdfwarrior Posted March 5, 2013 Share Posted March 5, 2013 Another question :-) How do I get hold of the parameter string using Ruby? Thanks again. You can't access what keyword was fired, you can grab the value that was passed via that keyword using {query} Link to comment
MuppetGate Posted March 5, 2013 Author Share Posted March 5, 2013 You can't access what keyword was fired, you can grab the value that was passed via that keyword using {query} Yes, sorry, that's what I meant: how do I get hold of the value? Link to comment
jdfwarrior Posted March 5, 2013 Share Posted March 5, 2013 Yes, sorry, that's what I meant: how do I get hold of the value? That depends on if you're writing the code in the Alfred editor or just running a script, similar to what you would do from the command line. In the Alfred editor window, you would just set a variable equal to {query}. When the script runs, {query} will be replaced by whatever is passed in Link to comment
MuppetGate Posted March 5, 2013 Author Share Posted March 5, 2013 Yes, I was doing it wrong. Thanks. 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