General :  K-Meleon Web Browser Forum
General discussion about K-Meleon 
Great Browser again, but.....(help please)
Posted by: Mike
Date: November 04, 2002 05:07AM

Hi,

just downloaded the new version of km, it works fantastic out of the box.
So i wish to thank all the developers which have done a great work IMHO!

There is a little prob i have, caused by using the macros which i had written for the older version of km.
Nothing special, I just had integrated some buttons to start applications from within the toolbar.
So I ve tried to copy them to the config-files and the browser also shows them, but they dont work ;(

If I move over them with the mouse, it only shows the name of the bitmap, pushing them has no effect.

I will give you an example:

#Macros

InstantMessenger {
exec(C:\Filepath\Filename.exe);

#Toolbars

InstantMessenger {
macros(InstantMessenger)
pic1.bmp
pic2.bmp
}

Did I miss anything?
I guess not?

The only button which works like in my old km-installation is this one:

sendmail {
menu=&Email
open(;" rel="nofollow" >mailtosmiling smiley;
}

sendmail {
macros(sendmail)
sendmail2.bmp
sendmail1.bmp
}

But its not an exec-command, so.......?

I hope someone can give me a hand.

Thanks again,

Mike

PS: If the defining of macros has changed, is there a link where i can find out the new way to do it?

Options: ReplyQuote
Re: Great Browser again, but.....(help please)
Posted by: Mike
Date: November 04, 2002 05:14AM

btw:

the sendmail-button works, but it is also showing the name of the bitmap while moving over it with the mouse.

................

Options: ReplyQuote
Re: Great Browser again, but.....(help please)
Posted by: po
Date: November 04, 2002 05:20AM

there's a macro reference on Ulf's page that give some information on syntax, etc... it may not be complete, though. Probably most of the problem is in the toolbars.cfg file - the structure of the button definition has changed a little bit. You can see the new structure in the defaults\profile\toolbars.cfg file, which should explain everything.

Options: ReplyQuote
Re: Great Browser again, but.....(help please)
Posted by: po
Date: November 04, 2002 05:23AM

oops! forgot - the default toolbar.cfg file is in the skins\default\ directory now... sorry. smiling smiley

Options: ReplyQuote
Re: Great Browser again, but.....(help please)
Posted by: Mike
Date: November 04, 2002 03:05PM

Hi po,

thank you for the fast reply.
After an hour of trying, there is only a little effort now.
The buttons are showing the correct name.......

It seems like my new browser does not want to accept any selfwritten macros so ;(

After looking at the macro reference-page and the comments in the config files, I m not really craftier. Config-hints there looks same as I ve done it...

I don't understand why it doesnt work, maybe someone has a solution?

Mike

Options: ReplyQuote
Re: Great Browser again, but.....(help please)
Posted by: SlideRule
Date: November 04, 2002 03:20PM

Mike:

I would be willing to bet, that if you make the following change in the "macros.cfg" file, that things will work:

CHANGE: exec(C:\Filepath\Filename.exe)

TO: exec("C:\\Filepath\\Filename.exe");

that is, putting the file name within double quotes, AND, two 'backslashes' to separate folder names.This works in my version K-Meleon 0.7.

Hope this helps.

SlideRule

Options: ReplyQuote
Re: Great Browser again, but.....(help please)
Posted by: Mike
Date: November 04, 2002 05:27PM

YEAHH! Thats it!

I don't know why, but it works fine now! winking smiley))

Thank you very very much! You are my hero! winking smiley

Greetings,

Mike

Options: ReplyQuote
Re: Great Browser again, but.....(help please)
Posted by: po
Date: November 04, 2002 11:11PM

doh! Nice catch, SlideRule... i overlooked that completely. smiling smiley

Options: ReplyQuote


K-Meleon forum is powered by Phorum.