This enables or disables the load of the last session, but it must be done before close k-meleon. I don't think it is possible to load without this help at startup. You can't change the value at startup and hope to start to work on that session.
I did a macro, but it is soooo customized using old macros so I think maybe doesn't work with newer versions or that hasn't old macros in their config files...
I also used an icon of Outlook Express, modified, for a toolbar...
The main macro. Note that I introduced a brake line to avoid deformation of the forum and it is in spanish:
$cargasesion="kmeleon.plugins.sessions.autoload";
cargaUSS{
togglepref(BOOL,$cargasesion); &Sync;
getpref(BOOL,$cargasesion) == true ? statusbar("Carga de última sesión al inicio
activada") : statusbar("Carga de última sesión al inicio DESactivada");
}
Macro data for the bar button:
setcheck("macros(cargaUSS)",getpref(BOOL,$cargasesion));
pluginmsg(toolbars,"CheckButton","Fuentes,macros(cargaUSS),".(getpref(BOOL,$cargasesion)
? 1:0));
Toolbar.cfg code:
Ultima sesion{
macros(cargaUSS)
Iniciar o no con última sesión
lastsession.bmp[0]
lastsession.bmp[1]
lastsession.bmp[1]
The image:
http://img101.imageshack.us/img101/4829/lastsessionrl0.png
Just copy to paint and save as bmp in your skins folder because imageshack converted it to png.
Edited 4 time(s). Last edit at 12/26/2007 12:52AM by JohnHell.