I have no clue how to make it tho

Basically i need to be able to highlight a word at least in a browser preferably anywhere on my computer, when i right click i want to be able to click a link in the box which then opens my internet browser on google, and puts a pre-written sentence into the search bar with the word i just highlighted at a certain point in the sentence and then search for it. The programme needs to run upon startup of the pc and also be able to open it any time after start up if incase i close it.

I hope I made it simple enough to understand. Basically i want it to copy my highlighted word into a set point in a sentence which never changes into google, it has to open my browser to google in order to do this.