But it failed.
I think what happens is that the contents of the clipboard are put into a box called "SearchText" and then entered into a Google query.
I don't know where I am going wrong...
You need to "URL Encode" the " -- they're illegal characters in a URL. So you could (remembering that you also have to escape the % because it's a special token in KM):
But you'll also want to encode your search term, in case that contains illegal characters too. So you might as well do it all in one go then feed the encoded string as the search parameter:
Thank you so much for answering, and I'm sorry for late reply.
It solved completely! Thank you for your perfect answer.
And as you said, yes pause is not necessary.
Depending on the content of the macro, it may not work properly unless a pause is inserted, so I have a habit of inserting a pause lol.
But this macro is no problem without pause.
Thank you!!!
While this is solved, Iām offering another solution for the microbit of ease that comes with clicking while your hand is already on the mouse or trackpad. And that is to use the PopClip app.
With its interface popping up as soon as you release the drag to select some text you can move the short distance to the search icon, click it and get a Google search of the selected text.
Further, if you like the UI, you can add KM macros to the pop up menu. If you explore this, note that there are hidden settings to lengthen the menu before having to click and reveal a second row which kills the convenience factor which is its chief benefit.