Bugs :  K-Meleon Web Browser Forum
You can talk about issues with k-meleon here.  
macros cannot open local file
Posted by: Robert
Date: August 01, 2002 06:59PM

Version 0.6.5 built 387

The macro-command 'open' don't work with a local file. For example:

help {
menu = help F1
open(file:///N:/k-meleon/index.htm)
}

In V0.6 it works.

Robert

Options: ReplyQuote
Re: macros cannot open local file
Posted by: po
Date: August 01, 2002 08:22PM

in the new macro syntax, you're supposed to end lines with a semicolon (winking smiley and put strings in quotes... maybe that will fix it? smiling smiley

Options: ReplyQuote
Re: macros cannot open local file
Posted by: Robert
Date: August 02, 2002 02:04PM

Po wrote:

in the new macro syntax, you're supposed to end lines with a semicolon (winking smiley and put strings in quotes... maybe that will fix it? smiling smiley

Yes, that will fix it. :-)

BTW: What do you think about \t in the text of the menu-command, like the syntax in the menu.cfg?

example: menu = "Help\tF1";

Robert

Options: ReplyQuote
Re: macros cannot open local file
Posted by: po
Date: August 02, 2002 09:13PM

> BTW: What do you think about \t in the text of the menu-command,
> like the syntax in the menu.cfg?

i guess maybe the best thing would be if, as with plugins, there could be an additional argument for macros in the menus.cfg file, something like:

macros(help, Help\tF1)

which could override the menu text set in the macro definition... this might come in handy for people doing translations if there are ever default macros included with the distribution (which may be the case with the next release)...

anybody want to add that? smiling smiley

Options: ReplyQuote


K-Meleon forum is powered by Phorum.