Bugs :  K-Meleon Web Browser Forum
You can talk about issues with k-meleon here.  
"open as URL in new" problem
Posted by: darklink
Date: July 11, 2008 03:12PM

Hi, i'm new on the forum. I downloaded k-meleon some months ago because firefox was sucking too much memory for my pc, and now k-meleon is my browser of choice...i really love it. But i've got a little problem. The macro to open selected text as URL in new tab, suddenly stopped to work! when i try to use it, a small window appears with the message: "command not found opentab"
Can you help me?
I'm using k-meleon 1.1.5 and windows Xp
Thank you
Ps i'm italian, english is not my mother language so forgive me for possible errors

Options: ReplyQuote
Re: "open as URL in new" problem
Posted by: JujuLand
Date: July 11, 2008 04:24PM

It seems you have melted two versions of K-Meleon.

1.1.5 doesn't use tabs, but layers, and the macro refers to a tab function.

I presume you have installed the two versions with the setup, and you haven't choosen for the last, when setting up, to uncheck the profile location.

Try to delete (or first rename your profile folder, launch K-Meleon : it will create a new profile. It ought to work correctly.

After, just keep some files in your old profile to put it in your new profile.

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: "open as URL in new" problem
Posted by: darklink
Date: July 12, 2008 08:45AM

I did what you said but it doesn't work. I also tried to unistall and reinstall K-meleon but i've got the same problem.

Options: ReplyQuote
Re: "open as URL in new" problem
Posted by: desga2
Date: July 12, 2008 09:41AM

Are you sure?
"opentab" is a function of 1.5beta version not 1.1.5 release.
Try to use a profile.ini file to create a local profile in K-Meleon folder.

K-Meleon in Spanish

Options: ReplyQuote
Re: "open as URL in new" problem
Posted by: darklink
Date: July 19, 2008 02:11PM

i'm sorry, but the macro doesn't work and I'm sure that I didn't download the 1.5 version. I discovered that the message "command not found opentab" refers to a part of the text of the macro:

# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)

# ---------- Open As URL In New -----------------------------
#
# Dependencies : main.kmm
# Resources : -
# Preferences : -
#
# ----------------------------------------------------------------------

Open_TextAsURLInNew{
$OpenURL=$SelectedText; $OpenURL==""?0:opentab($OpenURL);
}

# - PRIVATE
_OpenAsURLInNew_BuildMenu{
setmenu(Selection,macro,"Open As URL in &New",Open_TextAsURLInNew);
}

$OnInit=$OnInit."_OpenAsURLInNew_BuildMenu;";

# ------------------------------------------------------------------------
$macroModules=$macroModules."OpenAsURLInNew;";

Infact if I try to change the bolded text with, for example, "openlayer", a message appears saying "command not found openlayer". I'm not an expert of the macro language, but it seems to me that my K-melon doesn't know how to execute the command of that line...

Options: ReplyQuote
Re: "open as URL in new" problem
Posted by: desga2
Date: July 19, 2008 02:57PM

Now I know, sorry, i updated this macro code, please check new code in MacroLibrary.

(Before code was original author code and was only for 1.5 version, but now works in both 1.1.X and 1.5)

K-Meleon in Spanish

Options: ReplyQuote
Re: "open as URL in new" problem
Posted by: darklink
Date: July 19, 2008 10:24PM

Thank you for your attention and your help...but there's another problem!
I'm sorry to give you a bad news, but with the new macro i've got an error message when opening K-meleon:



What can I do?

Options: ReplyQuote
Re: "open as URL in new" problem
Posted by: desga2
Date: July 19, 2008 10:43PM

Sorry, in paste proccess to MacroLibrary form notepad a new line have been inserted (must be to line adjust of notepad)

I fixed this line at begining of code in MacroLibrary;
- Old code:
# K-Meleon Macros
(http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)

- New code fixed (note that this is only one line not two as before):
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)

Now must work fine.

K-Meleon in Spanish

Options: ReplyQuote
Re: "open as URL in new" problem
Posted by: JamesD
Date: July 19, 2008 10:45PM

@ darklink

Which version of KM is giving you this message? I am using KM 1.5beta2 and I created a macro with the name openasurlinnew.kmm without any problem.

Options: ReplyQuote
Re: "open as URL in new" problem
Posted by: darklink
Date: July 20, 2008 12:57AM

I don't use version 1.5 because i'm waiting for the final relase.The message appeared in version 1.1.5...but now it works fine! thank you desga2!



Edited 1 time(s). Last edit at 07/20/2008 02:47PM by darklink.

Options: ReplyQuote


K-Meleon forum is powered by Phorum.