So I'm wanting to use LB to send parameters to Ruby scripts. I can split('/') on a single parameter, which is just fine. I'm not clear as to how to get LB to launch a ruby script with a parameter. I'm assuming it's an Action URL Script, but not clear on the action. I wrote a Fahrenheit to Celcius action as an example:
Code: Select all
calculate is the action in this instance. To aim at iTerm2 (my terminal) or a ruby script, or an AppleScript that can parse and send it to a ruby script. I would prefer not using AppleScript as it can be flaky.
Anyway, any insight appreciated on how I can achieve this. I'm currently looking at the Action Editor, but it's still confusing.