Button to Google search by file name

Discussion, questions and support.
Post Reply
Message
Author
test4
Posts: 4
Joined: 26.08.2016, 10:28

Button to Google search by file name

#1 Post by test4 » 26.08.2016, 10:57

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.

User avatar
Dreamer
Site Admin
Posts: 3442
Joined: 19.08.2007, 21:40
Location: Slovakia

Re: Button to Google search by file name

#2 Post by Dreamer » 26.08.2016, 23:28

Just "Search..." in toolbar options and the same for keyboard shortcut, default should be Ctrl+F.

test4
Posts: 4
Joined: 26.08.2016, 10:28

Re: Button to Google search by file name

#3 Post by test4 » 27.08.2016, 20:04

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.

joby_toss
Posts: 1346
Joined: 22.07.2009, 19:19
Location: Romania
Contact:

Re: Button to Google search by file name

#4 Post by joby_toss » 28.08.2016, 16:08

Image

test4
Posts: 4
Joined: 26.08.2016, 10:28

Re: Button to Google search by file name

#5 Post by test4 » 29.08.2016, 06:30

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

joby_toss
Posts: 1346
Joined: 22.07.2009, 19:19
Location: Romania
Contact:

Re: Button to Google search by file name

#6 Post by joby_toss » 29.08.2016, 16:08

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

afh
Posts: 101
Joined: 30.06.2014, 18:50
Location: Romania

Re: Button to Google search by file name

#7 Post by afh » 30.08.2016, 09:13

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 39 guests