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:
Test Google Literal Query.kmmacros (2.9 KB)
Once you've installed the macro you'll need to first enable it and also assign a trigger.
The Set Variable
action shows how to incorporate the percent-encoded search term as a variable when constructing the URL for Google.
You can use this as a basis for your own solution.
Let us know how you get on!