Development :  K-Meleon Web Browser Forum
K-Meleon development related discussions. 
Km_Pass
Posted by: ndebord
Date: November 04, 2004 05:58PM

Will Km_Pass work with K-Meleon 0.9xxx?

Tks,

N

Options: ReplyQuote
Re: Km_Pass
Posted by: jsnj
Date: November 04, 2004 07:09PM

It should but if you have multiple KM's on your PC it may or may not have profile directory detection problems

Options: ReplyQuote
Re: Km_Pass
Posted by: ndebord
Date: November 05, 2004 12:04AM

jsnj,

Thanks. I'll play with it a bit. I had been running multiple versions of KM, but as of last week, consolidated them down to beta 2.

N

Options: ReplyQuote
Re: Km_Pass
Posted by: alain.NOSPAM.aupeix@wanadoo.fr
Date: November 05, 2004 08:13PM

Yes, there is a problem if you use multiples KM's version on your computer, because KM_Pass look at registry to find KM folder.

I think that SetDefault can run with all version of KM, and, if you want to use KM-Pass with different version, you must before use it, run SetDefault in the KM's version folder you want to use.

I have made a new version which allows to bypass the registry entry. You just have, for the KM's versions not set by default to add the parameter -Path:

The param must be added in macros.cfg, if you use it with a button, like I explain it in doc file, else, if you use it with a shortcut, you must add the parameter in the shortcut.

I don't have put it on line, when I have enough time to do it, I'll make it.

Options: ReplyQuote
Re: Km_Pass
Posted by: ndebord
Date: November 06, 2004 12:35AM

Eye's Only,

<< have made a new version which allows to bypass the registry entry.>>

Very good news. Much appreciated.

When you do get around to posting that new Km-Pass, let me know here in the forums and I'll download the new version.

I think it is a necessary program because I don't really need a program to delete all my passwords, but I do need a program that will let me edit a passwords file.

:-)

N

Options: ReplyQuote
Re: Km_Pass
Posted by: alain.NOSPAM.aupeix@wanadoo.fr
Date: November 06, 2004 11:19AM

Hey ndebord,

I'm JujuLand, not Eye's only (as if I think well of him)

:-))

Options: ReplyQuote
Re: Km_Pass
Posted by: alain.NOSPAM.aupeix@wanadoo.fr
Date: November 06, 2004 09:12PM

Km_Pass 1.50 the last version which allows to give K-Meleon's path in on line

Let's go ...

Options: ReplyQuote
Re: Km_Pass
Posted by: ndebord
Date: November 07, 2004 05:44AM

Jujuland,

<<I'm JujuLand, not Eye's only (as if I think well of him)>>

Of course you are, it's just my brain that is not working (or can I blame it on my typing??)

(weak grin)

N

Options: ReplyQuote
Re: Km_Pass
Posted by: jtiger
Date: December 05, 2004 05:49AM

Is there a macro that will allow me to launch kmpass from within kmeleon?

Options: ReplyQuote
Re: Km_Pass
Posted by: alain.NOSPAM.aupeix@wanadoo.fr
Date: December 05, 2004 09:05PM

No during kmeleon is running
Yes with macros when quitting

In macros.cfg:
---------------------

1) in OnQuit function, add:

getpref(INT, $km_pass) == 1 ? exec("tools\\Km_Pass.exe " . "c:\progra~4\k-mele~5"): 0;
setpref(INT, $km_pass, 0);

2) After:

$referer = "network.http.sendRefererHeader";

add:

$km_pass = "kmeleon.tools.km_pass.activ"

3) After

RefToggle {
togglepref(INT, $referer, 2,0); &Sync;
getpref(INT, $referer) == "2" ? $tip = "BLOQUES" : $tip = "AUTORISES";
statusbar("Referers " . $tip);
}

add:

KPToggle {
togglepref(INT, $km_pass, 1,0); &Sync;
getpref(INT, $km_pass) == "1" ? $tip = "ACTIVE" : $tip = "INACTIVE";
statusbar("Gestionnaire mots de passe " . $tip);
}

4) After

setcheck("macros(RefToggle)", getpref(INT, $referer) ? false:true);

add

setcheck("macros(KPToggle)", getpref(INT, $km_pass));

You must then add an entry in tools menu

For example:

.....
Keyword AutoSearch
-------------------------------
Mail & News
External Tools
------------------------------
Pricacy
....

In menus.cfg:
-------------------

External Tools{
%ifplugin macros
macros(KPToggle, Activate the Password Manager)
%endif
}

and

&Tools{
......
:Keyword Autosearch
%ifplugin macros|privacy
-
%endif
:Mail & News
%ifplugin macros
:External Tools
-
%endif
%ifplugin macros|privacy
tongue sticking out smileyrivacy
%endif
....


That's ll for the modifications.

You just have to check the line to launch Km_Pass when quitting K-Meleon
When opening K-Meleon KM-Pass is always unchecked
If you want to always launch Km_Pass when quitting, you just have to rem the line in macros.cfg by adding a #
# setpref(INT, $km_pass, 0);

You also can use a button, (why not), look at the readme.txt, I think I have put the way in it.

ok ??

Options: ReplyQuote
Re: Km_Pass
Posted by: alain.NOSPAM.aupeix@wanadoo.fr
Date: December 05, 2004 09:08PM

I've forgotten:

give the path in short mode

"c:\\program files\\K-Meleon" becomes >>> "c:\\progra~1\\K-Meleon"

Options: ReplyQuote
Re: Km_Pass
Posted by: alain.NOSPAM.aupeix@wanadoo.fr
Date: December 06, 2004 07:13AM


getpref(INT, $km_pass) == 1 ? exec("tools\\Km_Pass.exe " . "c:\progra~1\k-meleon"): 0;

the two lines are in fact the same line

This line is in french

getpref(INT, $km_pass) == "1" ? $tip = "ACTIVE" : $tip = "INACTIVE";
statusbar("Gestionnaire mots de passe " . $tip);

and are in english

getpref(INT, $km_pass) == "1" ? $tip = "WILL BE LAUNCHED" : $tip = "WON'T BE LAUNCHED";
statusbar("Password Manager " . $tip);

Options: ReplyQuote


K-Meleon forum is powered by Phorum.