K-Meleon
KMeleonWiki > Resources > MacroLibrary > MacroLibrary2 > Auto Fullscreen
Submitted by: boogomatic - http://www.geocities.com/boogomatic
Notes:
This mode must be entered from a single window, (through menu or Alt+F11) and exited from the same single original window\layer.
auto_fs {
menu = "Auto Full&screen\tAlt+F11";
$afs = togglepref(BOOL, "kmeleon.plugins.fullscreen.auto");
plugin(fullscreen,);
}
OnOpenWindow {
$full = getpref(BOOL, "kmeleon.plugins.fullscreen.auto");
$full == true ? plugin(fullscreen,): "";
}
&View {
:&Toolbars
-
&Stop\tEsc = ID_NAV_STOP
&Reload\tCtrl+R = ID_NAV_RELOAD
&Source\tCtrl+U = ID_VIEW_SOURCE
-
Increase Font\tCtrl++ = ID_FONT_INCREASE
Decrease Font\tCtrl+- = ID_FONT_DECREASE
-
Next Window\tCtrl+Tab = ID_WINDOW_NEXT
Previous Window\tCtrl+Shift+Tab = ID_WINDOW_PREV
%ifplugin fullscreen
-
%ifplugin macros
macros(auto_fs)
%endif
fullscreen(&Full Screen\tF11)
%endif
}
ALT VK_F11 = macros(auto_fs)