Quote
George_Hall
...can only selected after the Browser Loads using the Sessions Options andafter you restart the K-Meleon Browserthe selected Session Loads.
Quote
siria
Quote
George_Hall
...can only selected after the Browser Loads using the Sessions Options andafter you restart the K-Meleon Browserthe selected Session Loads.
Not really, sessions load instantly.
And here's the same with a pref to toggle it on/off
Must be switched ON first in the sessions menu to start working!
(Cannot attach anything here. Installation as usual, copy text into empty file, name it "session_startupmenu.kmm" and place into a macros-folder)
#---------------
#K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage2)
#
# ---------------------- session_startupmenu.kmm ----------------------
# Automatically show sessions list at browser start to pick one
#
# Version : v1 / 2015-04-06
# Menu : Sessions > Startup Session Menu (On/Off)
# Resources: Sessions Plugin, Rebarmenu Plugin
# Forum: http://kmeleonbrowser.org/forum/read.php?4,133055
# -------------------------------------------------------------------------------------------
session_startupmenu{
plugin(rebarmenu, "&Load Session");
}
session_startupmenu_Toggle{
macroinfo=_("Automatically show sessions list at browser start to pick one (Cancel=ESC)");
menuchecked=getpref(BOOL,"macros.session_startupmenu.auto");
togglepref(BOOL,"macros.session_startupmenu.auto");
statusbar(sub("%s",getpref(BOOL,"macros.session_startupmenu.auto")?$on:$off,_("Session menu at startup %s")));
}
_session_startupmenu_Build{
setmenu("&Sessions",macro,"Startup Session Menu","session_startupmenu_Toggle");
}
#--------------------- At Startup ----------------------------
getpref(BOOL,"macros.session_startupmenu.auto") ? $OnStartup=$OnStartup."session_startupmenu;" : 0;
$OnInit=$OnInit."_session_startupmenu_Build;";
$macroModules=$macroModules."session_startupmenu;";