Quote
DannyD
ALT VK_RETURN = ID_OPEN_LINK_IN_BACKGROUNDTAB
But that didn't work, for whatever reason. (If you know that reason, please tell me.)
This not work because this is for
LINKS, not for address or URL bar.
Already exist an accelerator to do this: CTRL ALT N
Right click in Go button on toolbar and select "Open In New Page", but your solution isn't bad.
Existed accelerator call to "macros(Go_New)" default function defined in main.kmm file.
There are Preferences to setting this but not as you like; Preferences -> Browsing -> In Open select "Typed URLs" and mark option "In a new tab".
ALT VK_RETURN accelerator isn't used because this had some problems with Gecko defaults accelerator keys at least in before versions.
With this you don't need change accel.cfg file, all in one macro file is better because you can disable the macro from Preferences -> Macro Extension.
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)
#
# ---------- alt_enter.kmm -------------------------------------------------------
#
# Dependencies : main.kmm
# Resources : -
# Preferences : -
# Version : 0.2 2/20/09 desga2
# --------------------------------------------------------------------------------
alt_enter{
opentab( $URLBAR );
}
_alt_enter_SetAccels{
setaccel("ALT VK_RETURN", "macros(alt_enter)");
# You can use this instead to define a new macro function:
#setaccel("ALT VK_RETURN", "macros(Go_New)");
}
$OnInit=$OnInit."_alt_enter_SetAccels;";
$macroModules=$macroModules."alt_enter;";
K-Meleon in Spanish
Edited 1 time(s). Last edit at 02/20/2009 05:56PM by desga2.