home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2008 September
/
PCWorld_2008-09_cd.bin
/
komunikace
/
kmeleon
/
K-Meleon1.1.3en-US.exe
/
macros
/
domcomplete.kmm
< prev
next >
Wrap
Text File
|
2007-05-04
|
1KB
|
28 lines
# K-Meleon Macros (http://kmeleon.sourceforge.net/wiki/index.php?id=MacroLanguage)
# ---------- Domain Completion -------------------------------------------------------------------------------------
#
# Dependencies : main.kmm ($macroPrefBranch, OpenURL)
# Resources : -
# Preferences : kmeleon.plugins.macros.domComplete[0-2].prefix
# kmeleon.plugins.macros.domComplete[0-2].suffix
#
# ------------------------------------------------------------------------------------------------------------------
domComplete{
$OpenURL=getpref(STRING,$_domComplete.$ARG.".prefix").$URLBAR.getpref(STRING,$_domComplete.$ARG.".suffix"); &OpenURL_Typed;
}
# ----- PRIVATE
$_domComplete=$macroPrefBranch."domComplete";
_domComplete_SetAccels{
setaccel("CTRL VK_RETURN","macros(domComplete(0))");
setaccel("CTRL ALT VK_RETURN","macros(domComplete(1))");
setaccel("CTRL SHIFT VK_RETURN","macros(domComplete(2))");
}
$OnInit=$OnInit."_domComplete_SetAccels;";
# ------------------------------------------------------------------------------------------------------------------
$macroModules=$macroModules."domComplete;";