Bugs :  K-Meleon Web Browser Forum
You can talk about issues with k-meleon here.  
Global Variables not so Global?
Posted by: pixelpunk
Date: November 03, 2006 11:07PM

I've made my own macro to do a search for selected text. It works, however, when i start up K-meleon it gives me an alert saying taht the variable 'SelectedText' isn't set. And some other stuff. (I can't remember exactly what it said).
menu = "Search for \"".$SelectedText."\"";
That's what i have for 'menu' in Macros. Anyway to fix this, so that i see the selected text in the right-click menu?

I'm using K-meleon 1.02



Edited 1 time(s). Last edit at 11/03/2006 11:10PM by pixelpunk.

Options: ReplyQuote
Re: Global Variables not so Global?
Posted by: JujuLand
Date: November 04, 2006 08:08AM

Global variables must be initialized out of functions in macros.cfg.

A+



Mozilla/5.0 (x11; U; Linux x86_64; fr-FR; rv:38.0) Gecko/20100101 Ubuntu/12.04 K-Meleon/76.0


Web: http://jujuland.pagesperso-orange.fr/
Mail : alain [dot] aupeix [at] wanadoo [dot] fr



Ubuntu 12.04 - Gramps 3.4.9 - Harbour 3.2.0 - Hwgui 2.20-3 - K-Meleon 76.0 rc



Options: ReplyQuote
Re: Global Variables not so Global?
Posted by: Dorian
Date: November 04, 2006 11:04AM

Variables can't currently be used for menu. Anayways this is not a nice idea, since the selected text could be anything and easily break the menu.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.