Quote
siria
Charlie, didn't you recently have so much trouble after moving some macros from the program folder into profile folder and vice versa, because some were double afterwards? And guess the Policies Manager belongs to the more complex macros, perhaps there's just something double or such again, but no idea ;-)
The earlier trouble was with the Extensions manager. I foreget what eaxactly was the problem but I had decided that my KM was more than likely corrupted somehow and I had decided to reinstall KM and start over from scratch. And since then everything has been working well, until this problem with the Policies manager. It could be that this problem with the Polocies manager had always existed and I just hadn't realized it. But this problem is for the most part a "non-problem" that I can certainly live with.
The policyman.kmm is only in the User-Defined Macro folder. Below is the cotents of the macro in the case that you might notice something wrong in it:
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)
# ------------ pending macro for ported extension----------------------------------------
policy{
$OpenURL="chrome://policymanager/content/policymanager.xul";
$ExecMacros="OpenURL_InNewWindow"; &ExecMacros_Frames;
}
policyurl{
$HOST = hostname( $URL );
setclipboard("");
$sslsecure=("
https://"
$checkssl=(substr($URL,0,8)=="
https://"?setclipboard($sslsecure.$HOST):setclipboard($HOST));
$OpenURL="chrome://policymanager/content/policymanager.xul";
$ExecMacros="OpenURL_InNewWindow"; &ExecMacros_Frames;
}
policylink{
$HOST = hostname( $LinkURL );
setclipboard("");
$sslsecure=("
https://"
$checkssl=(substr($LinkURL,0,8)=="
https://"?setclipboard($sslsecure.$HOST):setclipboard($HOST));
$OpenURL="chrome://policymanager/content/policymanager.xul";
$ExecMacros="OpenURL_InNewWindow"; &ExecMacros_Frames;
}
policy_BuildMenu{
setmenu(LinkSave,inline,policy_mode,-1);
setmenu(policy_mode,macro,"Policies Manager",policylink);
setmenu(DocumentSave,inline,policy_mod,-1);
setmenu(policy_mod,macro,"Policies Manager",policyurl);
setmenu("&Privacy",inline,policy_man,-1);
setmenu(policy_man,macro,"Policies Manager",policy);
}
$OnInit=$OnInit."policy_BuildMenu;";
# --------------------------------------
$macroModules=$macroModules."policy;";
Charlie
~~If it ain't broke, why screw it up?~~