Search something on google via chrome some text from clipboard

I need to search for various word meaning in Bangla in google. The Targeted String i will copy. I want to create a button which will add meaning in bengali string with my clipboard string and then open the google chrome and go to the google.com the paste the text from my clipboard ad a space then add meaning in bengali then search it.

example I want to search country meaning in bengali. now I have to run the google chrome and go to the google.com then have to type country meaning in bengali then click on search for the result. I want I just copy the string country then press the button the button will do rest of the work. Is that possible? Any Help will be appreciated. Please Help me someone.

Why would you try to do this in Opus. It doesn't seem to me to have anything to do with file management.

1 Like

:cry::cry: I think Opus is more powerful than any poor file manager. And If can find a solution. That will save lots of my click. I found some button code in this site and I just little modified the code like This:

@runonce:@set googlename={dlgstringS|Enter the Searching string|{file$|noext}}
"https://www.google.com.bd/search?q={$googlename}"

waoo :grimacing: This button can search The selected Filename in google with in single click. Now I just Try to do a little complex things with the button. I want the searching strings comes from Clipboard or from Selected Text (not selected file name, selected text mean any selected word in inline rename mode). I have tried as I can. But I am failed. So I ask for some help in this helpful community.

"https://www.google.com.bd/search?q={clip}"

This should work if there is valid text on the clipboard.

1 Like

If you want to be prompted using the contents of the clipboard as a default, try this...

@set search4={dlgstringS|Enter a search string|{clip}}
"https://www.google.com.bd/search?q={$search4}"

If there is no valid text on the clipboard the prompt will be blank and you can fill it in.

1 Like

Waooo It's Works fine with Clipboard Text. Is there any way to do same things form a Selected Text?

The simple answer is no. The things you can use are documented here.

That's another good way, But I need a common strings meaning in bengali have to add from the button with the clipboard text.

@set search4={dlgstringS|Enter a search string|Meaning in Bengali of {clip}}
"https://www.google.com.bd/search?q={$search4}"

or

@set search4={dlgstringS|Enter a search string|{clip} meaning in Bengali}
"https://www.google.com.bd/search?q={$search4}"

1 Like

Here is a more direct way of getting straight to Google Translate from English to Bangladeshi.

@set search4={dlgstringS|Enter a search string|{clip}}
"https://translate.google.com.au/#view=home&op=translate&sl=en&tl=bn&text={$search4}"
1 Like

Great !!! Great!!! I am trying to Add Clipboard COPY command before this code? That mean I just Select the Text Then Click the button, The button will Copy the selected text to the clipboard then done rest of the part for search.

Clipboard COPY
@set search4={dlgstringS|Enter a search string|{clip} meaning in Bengali}
"https://www.google.com.bd/search?q={$search4}"

it's not work.

That is because Clipboard COPY copies all selected files and folders to the clipboard. Use Ctrl-C to copy the selected text to the clipboard.

aussieboykie Yes I know Ctrl-C is work here, I just tried avoid to use keyboard. Is there any way to add a copy mechanism with this button?

Opus doesn't know what text you have selected. It could be in a text file or a Word document or a PDF or...... The short answer is no. The only reliable method is Ctrl-C.

1 Like

It's all right, finally we achieve a very good solution. Thank you so much aussieboykie. You have done a great job. Thanks again My Dear Lovely helpful Community.

1 Like