I have a piece of code I found quite a long time ago (unfortunately, I cannot remember where) that allows me to select some text and search for it on Google in Firefox using a hotkey :
Code: Select all
^²::
Send, ^c
Sleep 50
parameter = C:\Program Files\Mozilla Firefox\firefox.exe https://www.google.com/search?channel=crow5&client=firefox-b-d&q="%clipboard%"
Run %parameter%
Return
The only problem is when I search for text in quotes or containing quotes, as this causes a problem with the URL (i.e. the "%clipboard%" part).
Is there a way to avoid this, or is the only solution to avoid quotes in my selections?
Thank you for your help.