From the command line I run a command similar to:
When displaying %TriggerValue% in a window, the variable is empty though it should say 'pizza'.
Can anyone suggest a fix to get %TriggerValue% to appropriately capture the value parameter, thanks!
That's a trigger by URL that you're using, so you need to open it in a browser for it to work properly. In other words, just supply
If you want to trigger from a command line (shell) then choose that in the trigger drop-down. For example:
Because you aren't actually sending the
value=pizza part --
& is a special shell character and your command stops there. Try either escaping the
& or single-quoting the whole
(This is KM 10.1.1 and macOS 10.13 -- is it just me or does it work for anyone else? I had the same understanding as @tiffle until I tried it just now!)
Well spotted @Nige_S! I spent ages fiddling with the
open command and totally missed that; thanks for the lesson
Whoa that works - thank you so much!
I wish https://wiki.keyboardmaestro.com/trigger/URL mentioned that caveat as I spent so much time trying to figure out why it wasn't working
Many thanks again @Nige_S