Development :  K-Meleon Web Browser Forum
K-Meleon development related discussions. 
0.82 - macro: "bad character" error
Posted by: Bjoern
Date: January 05, 2005 12:06PM

Hi,

I wanted to copy Firefox' behaviour to open the next layer when closing one instead of opening the previously used one.

I tried it with:

"closeandnext (
plugin(layers,close);
plugin(layers,next);
)"

in macros

and with

"Strg W = macros(closeandnext)"

in accelerators..


restarting kmeleon, an error message saying "bad character in macro name" appears", can someone tell me what i did wrong?

thanks,
bjoern.

Options: ReplyQuote
Re: 0.82 - macro: "bad character" error
Posted by: alain.NOSPAM.aupeix@wanadoo.fr
Date: January 05, 2005 01:29PM

should be better like this:

closeandnext (
plugin(layers,close);
plugin(layers,next);
)

why " at the beginning and at the end of macro ??

Options: ReplyQuote
Re: 0.82 - macro: "bad character" error
Posted by: Bjoern
Date: January 05, 2005 03:23PM

well, there isn't one winking smiley i just wrote it to mark beginning and end of macro for you...

Options: ReplyQuote
Re: 0.82 - macro: "bad character" error
Posted by: SlideRule
Date: January 05, 2005 04:03PM

Bjoern:

In the original macro you wrote, please note the 'difference' to the two (2) characters (in bold) below, which I think is causing your problem:

closeandnext {
plugin(layers,close);
plugin(layers,next);
}

Please note, that in the new BETA version of K-Meleon, there is an option in:

View - Layers - Close Options


to perform exactly what you want.

I hope this helps, and, best of success.

SlideRule

Options: ReplyQuote


K-Meleon forum is powered by Phorum.