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
rivacy
%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 ??