Set variable with selected text and append to defined search URL

John,

Take a look at the below macro I just posted.
It is set to use Google Chrome and Google Search, but it can easily be changed to Safari and whatever search engine you prefer.