General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Google problem (again)
Posted by: cd
Date: April 26, 2002 05:58PM

Hello all,
What is it that I do wrong?

In thread http://kmeleonbrowser.org/forum/read.php?f=3&i=1923&t=1923 there was a solution from Andres that I would like to implement. The solution was:
"
After some thinking, I just wrote a macro
google {
open(http://www.google.com)
}
and edited my toolbars.cfg so that the search button now means
macros(google)
instead of ID_NAV_SEARCH
Then I went to Google and let it set me a cookie with my preferences (language + 100 results per page).
Thus now my search button opens Google search page. This is the best solution I could find yet.
"

- I added the macro to the end of file macros.cfg
- And replaced ID_NAV_SEARCH by macros(google) in file toolbars.cfg
This now looks at:
Search {
macros(google)
tool2.bmp[5]
tool1.bmp[5]
}
- But this does not work
cd

Options: ReplyQuote
Re: Google problem (again)
Posted by: Andres
Date: April 27, 2002 10:51PM

First, if you didn't yet, restart your computer. Does the search icon display correctly?

In my case, the macro string looks exactly like that:

google {
menu = Google
open(http://www.google.com)
}

and the toolbars.cfg string looks exactly like that:

Search {
macros(google)
cham1.bmp[6]
cham2.bmp[6]
cham3.bmp[6]
}

Note that the cham*.bmp files are my own toolbar files, so you should replace these by what you have. The *.bmp files must definitely exist on your hard drive.

If you put these strings down in your files and reboot, this should most definitely work (still works at the present moment).

Maybe you missed some parenthesis from the beginning or the end?

Options: ReplyQuote
Re: Google problem (again)
Posted by: cd
Date: April 30, 2002 06:42PM

Hello Andres,
Thank you for your help.

However, it did not work.
I added:
google {
menu=google
open(http://www.google.com/)
}

to the end of macros.cfg in my ..\k-meleon\profiles\default\znjeysxa.slt directory.

and I changed my search fucntion via edit\preferences\config\toolbar into
Search {
macros(google)
tool2.bmp[5]
tool1.bmp[5]
}

I also restarted my computer after changing.

End effect is that the search icon (globe in my case) does not respond anymore.

Any idea what I do wrong?

cd

Options: ReplyQuote
Re: Google problem (again)
Posted by: NotThatDude
Date: April 30, 2002 07:33PM

Everything looks right to me...

What happens if you change 'macros(google)' back to 'ID_NAV_SEARCH' in toolbars.cfg? Does it do anything then?

Is there an incomplete macro definition somewhere above where you declared 'google'? Try putting the google macro at the top of the macros.cfg file. If it works now, you've got a macro that is missing a parenthesis or curly bracket somewhere.

-ThatDude can bite me

Options: ReplyQuote
Re: Google problem (again)
Posted by: cd
Date: April 30, 2002 08:41PM

Hello andres and NotThatDude,
Found the problem (stupid me)!!!
You know what. I disabled edit\preferences\plugins\macro extension plugin.
I enabled the plugin and now everything works fine.
Thanks again.
:-)cd

Options: ReplyQuote


K-Meleon forum is powered by Phorum.