Page 1 of 1

Button to Google search by file name

Posted: 26.08.2016, 12:57
by test4
I want to web search file name by pushing toolbar button(or shortcutkey).
I wanto to create button like that.

But ,I dont know FreeCommander macro charactor. Where is Descriptions of macro in help document.

Please teach me how to set.

Re: Button to Google search by file name

Posted: 27.08.2016, 01:28
by Dreamer
Just "Search..." in toolbar options and the same for keyboard shortcut, default should be Ctrl+F.

Re: Button to Google search by file name

Posted: 27.08.2016, 22:04
by test4
Dreamer wrote:Just "Search..." in toolbar options and the same for keyboard shortcut, default should be Ctrl+F.
Sorry no. I want to Google Web Search. Not file search.
I wanto to throw file name to Google web search.

Re: Button to Google search by file name

Posted: 28.08.2016, 18:08
by joby_toss
Image

Re: Button to Google search by file name

Posted: 29.08.2016, 08:30
by test4
I'm thankful to you.I suceeded.I did well.

But,blinded by greed,
In addition,
Would you forgive me for my selfishness?

If it's alright with you,I cut extension off in google search.without extension.
do so arguments exist ?

Anyway,I archieve a first purpose.
Thank you for your kindness . sorry for my poor English

Re: Button to Google search by file name

Posted: 29.08.2016, 18:08
by joby_toss
test4 wrote:...I cut extension off in google search.without extension.
do so arguments exist ?
AFAIK there is no such variable yet. Would be nice if Marek could implement it, though!
Image

Re: Button to Google search by file name

Posted: 30.08.2016, 11:13
by afh
I came to this solution after a quick search on internet, so it may be stupid, but it worked on my computer.

In "program or folder" put "cmd.exe", and in "parameter":
/c for %i in ("%ActivItem%") do "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" "http://www.google.com/search?q=%~ni"

[later edit]
in case you want to search when selected more than one file, you can use this [with "separate for each selected item" checked]:
/c for %i in (%ActivSel%) do "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" "http://www.google.com/search?q=%~ni"

BTW, this is great for searching subtitles from video filenames on google.