K-Meleon

KMeleonWiki > Resources > MacroLibrary > MacroLibrary2 > Auto Fullscreen

Submitted by: 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.


In Macros:

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,): "";
}


In Menus:

&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
}


In Accelerators:

ALT VK_F11 = macros(auto_fs)


User Comments:

K-Meleon

(c) 2000-2010 kmeleonbrowser.org. All rights reserved.
design by splif.