Bugs :  K-Meleon Web Browser Forum
You can talk about issues with k-meleon here.  
Macros activated >>> Search doesn`t work
Posted by: Rodger
Date: February 04, 2009 05:21PM

Hi,
I use K-Meleon 1.5.2
I use the internal Search function.
When I type a word in the URL-Bar an I press ALT+G google will be loaded.
This works fine, but:

I add a macros called "xxx.kmm" in "C:\Dokumente und Einstellungen\"USER"\Anwendungsdaten\K-Meleon\f4vlt1cd.default\macros"

This is the content of the macro
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)
#
# ---------- xxx.kmm
#
# --------------------------------------------------------------------------------


xxx{
exec("C:\\Programme\\Test.exe);
}

xxx_BuildMenu{
setmenu("&Edit",macro,"xxx",xxx,1);
}

$OnInit=$OnInit."xxx_BuildMenu;";
$macroModules=$macroModules."xxx;";
-------------------------------------------

When I now activate this macro in der settings the google search doesn`t work good.
When I type a word in the URL-Bar an I press ALT+G google will NOT be loaded.
The search bar will be prompt an I must type in the word for what I want to search.
An this dialog is in english, although I use the german version.
Before I activate the macro this dialog was in german.

Do somebody know whats going wrong?

Thanks
Rodger
This works fine, but:



Edited 1 time(s). Last edit at 02/04/2009 05:21PM by Rodger.

Options: ReplyQuote
Re: Macros activated >>> Search doesn`t work
Posted by: desga2
Date: February 04, 2009 05:44PM

You are wrong the accelerate to Search in K-Meleon 1.5.2 is Ctrl+G instead Alt+G.

Add a macro with out setaccel() definition can't change any accel behavior.

If this isn't your problem you must post all macro code exactlly as you are using.
By this way we can tested it in diferent K-Meleon versions and systems.

K-Meleon in Spanish

Options: ReplyQuote
Re: Macros activated >>> Search doesn`t work
Posted by: Rodger
Date: February 04, 2009 06:20PM

Hi,
thanks for your help.
Oh sorry I mean STRG+Ggrinning smiley
I wrote it wrong.

This is all of the macro.

Options: ReplyQuote
Re: Macros activated >>> Search doesn`t work
Posted by: guenter
Date: February 04, 2009 06:22PM

Quote
Rodger

I add a macros called "xxx.kmm" in "C:\Dokumente und Einstellungen\"USER"\Anwendungsdaten\K-Meleon\f4vlt1cd.default\macros"

This is the content of the macro
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)
#
# ---------- xxx.kmm
#
# --------------------------------------------------------------------------------


xxx{
exec("C:\\Programme\\Test.exe);
}

xxx_BuildMenu{
setmenu("&Edit",macro,"xxx",xxx,1);
}

$OnInit=$OnInit."xxx_BuildMenu;";
$macroModules=$macroModules."xxx;";
-------------------------------------------

1.) The error console 2 last version is altered to debug K-Meleon.kmm errors.
Use error console to debug!

BTW. deshalb & um zu helfen will er vermutl. den Kode

2.) Here are my readings of Your code.

Fehler: Unfinished string.
Quelldatei: H:\K-MELEON1.5.1DE-DE\macros\xxx.kmm
Zeile: 9
----------
Fehler: ) expected but found }.
Quelldatei: H:\K-MELEON1.5.1DE-DE\macros\xxx.kmm
Zeile: 10
----------
Fehler: ; expected but found }.
Quelldatei: H:\K-MELEON1.5.1DE-DE\macros\xxx.kmm
Zeile: 10
----------
Fehler: Invalid statement.
Quelldatei: H:\K-MELEON1.5.1DE-DE\macros\xxx.kmm
Zeile: 18
----------
Fehler: ; expected but found .
Quelldatei: H:\K-MELEON1.5.1DE-DE\macros\xxx.kmm
Zeile: 18

p.s.

Diese Werkzeugleiste mit zwei Knöpfen ist für notorsche Bastler.
This tool bar with two buttons is for habitual tinkers

This code goes into toolbars.cfg of used skin & will add two buttons to it.
Bold items must be edited to fit to Your skin (size and picture).

I have attached a skin that has these as separate buttons. Use after virus scan like anything offered for download by strangers.

%ifplugin macros
JavaScript &Console(24,24){
	JavaScript &Console{
	macros(Console2)
	JavaScript &Console
	mainhot.bmp[30]
	maincold.bmp[30]
	maindead.bmp[30]
	}
	So&urce Code{
	ID_VIEW_SOURCE
	So&urce Code
	mainhot.bmp[22]
	maincold.bmp[22]
	maincold.bmp[22]
	}

}
%endif



Edited 1 time(s). Last edit at 02/04/2009 06:25PM by guenter.

Attachments: K-Ext1.1.3_Klassic20px1.1.exe (132.6 KB)  
Options: ReplyQuote
Re: Macros activated >>> Search doesn`t work
Posted by: desga2
Date: February 04, 2009 07:58PM

Your problem is this line:
exec("C:\\Programme\\Test.exe);

You forget close quotes;
exec("C:\\Programme\\Test.exe");

@ guenter:

Are you going to attach a skin to each post? for ever? tongue sticking out smiley grinning smiley

K-Meleon in Spanish

Options: ReplyQuote
Re: Macros activated >>> Search doesn`t work
Posted by: Rodger
Date: February 04, 2009 08:29PM

Hi,
I have found the error.

$OnInit=$OnInit."xxx_BuildMenu;";
$macroModules=$macroModules."xxx;";
#-------------------------------------------

At the line with the ---------- the # was missed

Options: ReplyQuote
Re: Macros activated >>> Search doesn`t work
Posted by: guenter
Date: February 04, 2009 09:36PM

Quote
desga2

@ guenter:

Are you going to attach a skin to each post? for ever? tongue sticking out smiley grinning smiley

Only until You teach me to put them into wiki tongue sticking out smiley

Options: ReplyQuote
Re: Macros activated >>> Search doesn`t work
Posted by: desga2
Date: February 04, 2009 11:36PM

@ Rodger:

#-------------------------------------------

This line at the end is a comment you can delete it.
In your before code i don't know if this line was in code or not, I think was out for indicated the end of code.

@ guenter:

That is easy, you can start here.

K-Meleon in Spanish



Edited 1 time(s). Last edit at 02/04/2009 11:37PM by desga2.

Options: ReplyQuote
Re: Macros activated >>> Search doesn`t work
Posted by: JujuLand
Date: February 05, 2009 11:31AM

Yes, but I haven't found the way to change the horrible generated name :s

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





Edited 1 time(s). Last edit at 02/05/2009 11:32AM by JujuLand.

Options: ReplyQuote
Re: Macros activated >>> Search doesn`t work
Posted by: guenter
Date: February 05, 2009 01:53PM

Quote
desga2

@ guenter:

That is easy, you can start here.

I was pulling Your leg. grinning smiley

Have a look at: "A variant of the Artwork port". Extra Buttons: Compact Menu, Save, Error Console and View Source.

And have a guess who has uploaded, makes and uses skins with these extra buttons?



Edited 2 time(s). Last edit at 02/05/2009 01:59PM by guenter.

Options: ReplyQuote
Re: Macros activated >>> Search doesn`t work
Posted by: desga2
Date: February 05, 2009 05:35PM

Quote
JujuLand
Yes, but I haven't found the way to change the horrible generated name :s

Sorry JujuLand, but i don't understand your post.:s
Is your post off topic? Can you explain it to me?

K-Meleon in Spanish

Options: ReplyQuote
Re: Macros activated >>> Search doesn`t work
Posted by: guenter
Date: February 06, 2009 02:33AM

Probably making a joke like me.

Or technical problem?

Options: ReplyQuote
Re: Macros activated >>> Search doesn`t work
Posted by: JujuLand
Date: February 06, 2009 02:13PM

@desga,

You don't read between the lines ??? :drool:

I was just refering to that :

Quote

"This is easy, you can start here"

I have sometimes uploaded some files, and the generated name are too bad. No possibility to rename it. sad smiley

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: Macros activated >>> Search doesn`t work
Posted by: desga2
Date: February 06, 2009 03:56PM

Thanks, i know, when you upload a file to wiki, file is named with a random name. This for avoid that you can overwrite existed files. smiling smiley

You can use wiki url mark: [title | h t t p://example.com]

K-Meleon in Spanish



Edited 1 time(s). Last edit at 02/06/2009 03:57PM by desga2.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.