General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Search menu
Posted by: Leandros
Date: February 05, 2008 02:05PM

I'm afraid that I could not find this on either the forums or the wiki, I'm sorry if I missed it.
I have been using K-Meleon 0.9 since early 2005. One thing that always kept me away from Firefox was having to migrate settings and the probably hassle I'd encounter.
I recently reinstalled my OS and I decided to go with the new version, 1.1.3. I'm fairly sure I have everything set up, except for one thing: the search menu that one could access with ALT+S in 0.9. I have tried copying the settings from 0.9 but it didn't work. If I press ALT+S now it simply opens the File dropdown.
Is there a way to get back this great function? 1.1.3 has a lot of features I like but I simply can't go without the search menu on ALT+S. I use it at least 50 times a day.



Edited 1 time(s). Last edit at 02/05/2008 02:05PM by Leandros.

Options: ReplyQuote
Re: Search menu
Posted by: desga2
Date: February 06, 2008 12:16PM

What are you refferer?
Find in page => Ctrl+F
Search in web => Ctrl+G

Accelerates with only ALT special key aren't recommended because this is a default windows accelerates to menu items.

But you can change this, go to Edit -> Configuration -> Accelerators, and add this code;

ALT S = macros(Search)

K-Meleon in Spanish



Edited 1 time(s). Last edit at 02/06/2008 12:26PM by desga2.

Options: ReplyQuote
Re: Search menu
Posted by: Leandros
Date: February 06, 2008 03:30PM

Nono, I mean the little menu that appeared in 0.9. It gave options for multiple search engines rather than the default.

Options: ReplyQuote
Re: Search menu
Posted by: desga_2
Date: February 06, 2008 06:58PM

Right click over Search botton in toolbar or Tool -> Web Search menu.

Options: ReplyQuote
Re: Search menu
Posted by: Leandros
Date: February 06, 2008 09:19PM

yes I know how to get it. I want to get it with ALT+S rather than using the mouse.

Options: ReplyQuote
Re: Search menu
Posted by: Fred
Date: February 07, 2008 05:37AM

I would propose to use ALT+Q for the shortcut instead of ALT+S
to avoid conflicts with opening a dropdown menu from the menu bar.

First open notepad and create a file accel.cfg, containing :

ALT Q = macros(search_meta)

Go to your Profiles folder, which should be located either in
C:/Documents..../yourusername/ApplicationData/K-Meleon/default/...... .slt,
or in your K-Meleon main folder.

Save this file accel.cfg in your Profile folder, that means
in the subfolder with a random name ending in .slt ,
for example m2s8v3i5.slt .

In this same subfolder you will also find a subfolder called "macros".
In this subfolder you should save a new file you have to create in notepad,
called searchmeta.kmm ,
which should contain the following text :



$meta1="http://www.google.com/search?num=100&query=";;
$meta2="http://search.msn.ch/results.aspx?srch_type=0&FORM=QBHP&geovar=150&q=";;
$meta3="http://search.yahoo.com/bin/search?p=";;
$meta4="http://images.google.com/images?btnG=Google+Search&safe=off&filter=0&q=";;
$meta5="http://www.ask.com/web?q=";;
$meta6="http://www.gigablast.com/search?quote1=&quote2=&q=-=&url=&link=&sc=1&ns=5&n=100&sites=&plus=";;

search_meta{
menu = "Metasearch";
$word = prompt("Enter search query:", "Metasearch");
$string=$word;
&ViewMeta;
}
ViewMeta{
pluginmsg(layers,"OpenURL",$meta1 . $word):
pluginmsg(layers,"OpenURL",$meta2 . $word):
pluginmsg(layers,"OpenURL",$meta3 . $word):
pluginmsg(layers,"OpenURL",$meta4 . $word):
pluginmsg(layers,"OpenURL",$meta5 . $word):
pluginmsg(layers,"OpenURL",$meta6 . $word);
}



Restart the browser, and ALT+Q should open a prompt
for Metasearch (Layers should be enabled).
I hope that you will succeed.

Fred

Options: ReplyQuote
Re: Search menu
Posted by: Leandros
Date: February 10, 2008 12:24AM

Nope, that's not what I meant. I was looking for when you press ALT+S (or any key combo) a menu pops up, allowing you to choose what engine to search for. When you have a phrase selected it looks for this automatically, if not a text box appears, allowing you to type the phrase.

Options: ReplyQuote
Re: Search menu
Posted by: Fred
Date: February 10, 2008 01:22AM

I thought you wanted a shortcut for Metasearch.

This is much easier :

In the menu go to :
Edit/Configuration/Accelerators

Add the new line :

ALT S = rebarmenu(&Web Search)

Save the file by File/Save in the menu of notepad.

Close and restart the browser.

ALT + S should now work to open the Search menu.

Fred

Options: ReplyQuote
Re: Search menu
Posted by: Leandros
Date: February 10, 2008 08:58AM

Thank you! Now my migration to 1.1.3 is complete smiling smiley

Options: ReplyQuote


K-Meleon forum is powered by Phorum.