I'm fairly new to Keyboard Maestro and by no means a tech wizz.
That being said, I am trying to create a macro that will take a search term as parameter and then open Google in the default browser, looking for said search term with the "Verbatim" search enabled. (This will prevent Google from "intelligent" guess work)
I know that I can tell Google to search Verbatim by appending ?tbs=li:1 to a search string. However, I cannot figure out how to formulate the correct URL for this
I have tried the "Search the Web" action with the following:
Hi @akl - I've put together a simple demonstration macro for you that I think achieves what you're trying to accomplish. I’m grateful to @vincent_ardern for his suggestion as I wouldn’t have known how to do this otherwise. Here’s the macro:
Not to even attempt to grandstand my main man @tiffle, however, I wanted to remind some and educate others that you can use the Trigger by name Action by using the macro name followed by the //, to add your parameter, and not need the user prompt.
The wiki says " You can pass parameters (v8+) to the macro via the %TriggerValue% token by adding // and then the parameter to your search string. The // and anything after that will be ignored in the search."
To run the above macro using @tiffle's macro name, you would hit your Trigger macro by name hotkey (mine is F19), type the macro name, type //your parameter and hit enter. As soon as you type Test goog, KM will see your macro (machine learning) and all you would have to do is type // and your parameter.
Either way is fine, this just saves a little time. I use the Trigger Macro by name with the Trigger Value for a ton of KM uses. You can see this post for more information.