Quote
Voltaire
How to Disable "DEL"-Key for "Go Back a Page"?
Quote
Voltaire
Now with CHD-Keyboard typing ~ is not the problem; but typing it with DEU-Keyboard: if you press ctrl-alt-+ (the key that should type the ~) nothing is written, but the screen zoom is increased in size.
Quote
Voltaire
So is there a way to disable touch-click on the touchpad in connection with entering characters into an editable field?
Quote
Voltaire
I tried with a # in front of the four "setaccel("CTRL ALT VK_ ..." lines (they seem to be the same as the four "setaccel("ALT VK_ ..." lines just above) ... and this is working ...
Quote
siria
> You mean I could also have set a # only in front of $OnInit, and then these keys would be defined but this definition not activated?
Well, almost: it means then only the macro function "_Zoom_SetAccels" would be defined, but not executed automatically at start of new sessions. Only if later called manually, by a menu or otherwise, it would then fire and define the setaccel commands.
Actually I had meant to only remove this first half, not disable the whole line, since additionally it creates the menu:
$OnInit=$OnInit."_Zoom_SetAccels;_Zoom_BuildMenu;";
Quote
Voltaire
OK, now I see what you mean ...
Btw: so far I set the # in front of the "_Zoom_SetAccels{"-line to not define the whole group so that it wont't bother me ...
But now I wonder that in the $OnInit-line the _Zoom_BuildButtonMenu is not mentioned ...
#_Zoom_SetAccels{ setaccel("CTRL VK_MULTIPLY","macros(Zoom_Reset)"); setaccel("ALT VK_PLUS","macros(Zoom_Images_In)"); setaccel("ALT VK_ADD","macros(Zoom_Images_In)"); setaccel("ALT VK_MINUS","macros(Zoom_Images_Out)"); setaccel("ALT VK_SUBTRACT","macros(Zoom_Images_Out)"); setaccel("CTRL ALT VK_PLUS","macros(Zoom_Page_In)"); setaccel("CTRL ALT VK_ADD","macros(Zoom_Page_In)"); setaccel("CTRL ALT VK_MINUS","macros(Zoom_Page_Out)"); setaccel("CTRL ALT VK_SUBTRACT","macros(Zoom_Page_Out)"); } $OnInit=$OnInit."_Zoom_SetAccels;_Zoom_BuildMenu;";
#_Zoom_SetAccels{ #setaccel("CTRL VK_MULTIPLY","macros(Zoom_Reset)"); #setaccel("ALT VK_PLUS","macros(Zoom_Images_In)"); #setaccel("ALT VK_ADD","macros(Zoom_Images_In)"); #setaccel("ALT VK_MINUS","macros(Zoom_Images_Out)"); #setaccel("ALT VK_SUBTRACT","macros(Zoom_Images_Out)"); #setaccel("CTRL ALT VK_PLUS","macros(Zoom_Page_In)"); #setaccel("CTRL ALT VK_ADD","macros(Zoom_Page_In)"); #setaccel("CTRL ALT VK_MINUS","macros(Zoom_Page_Out)"); #setaccel("CTRL ALT VK_SUBTRACT","macros(Zoom_Page_Out)"); #} $OnInit=$OnInit."_Zoom_SetAccels;_Zoom_BuildMenu;";
_Zoom_SetAccels{ setaccel("CTRL VK_MULTIPLY","macros(Zoom_Reset)"); setaccel("ALT VK_PLUS","macros(Zoom_Images_In)"); setaccel("ALT VK_ADD","macros(Zoom_Images_In)"); setaccel("ALT VK_MINUS","macros(Zoom_Images_Out)"); setaccel("ALT VK_SUBTRACT","macros(Zoom_Images_Out)"); setaccel("CTRL ALT VK_PLUS","macros(Zoom_Page_In)"); setaccel("CTRL ALT VK_ADD","macros(Zoom_Page_In)"); setaccel("CTRL ALT VK_MINUS","macros(Zoom_Page_Out)"); setaccel("CTRL ALT VK_SUBTRACT","macros(Zoom_Page_Out)"); } # $OnInit=$OnInit."_Zoom_SetAccels;_Zoom_BuildMenu;";
_Zoom_SetAccels{ setaccel("CTRL VK_MULTIPLY","macros(Zoom_Reset)"); setaccel("ALT VK_PLUS","macros(Zoom_Images_In)"); setaccel("ALT VK_ADD","macros(Zoom_Images_In)"); setaccel("ALT VK_MINUS","macros(Zoom_Images_Out)"); setaccel("ALT VK_SUBTRACT","macros(Zoom_Images_Out)"); setaccel("CTRL ALT VK_PLUS","macros(Zoom_Page_In)"); setaccel("CTRL ALT VK_ADD","macros(Zoom_Page_In)"); setaccel("CTRL ALT VK_MINUS","macros(Zoom_Page_Out)"); setaccel("CTRL ALT VK_SUBTRACT","macros(Zoom_Page_Out)"); } $OnInit=$OnInit."_Zoom_BuildMenu;";
Quote
Voltaire
Btw: so far I set the # in front of the "_Zoom_SetAccels{"-line to not define the whole group so that it wont't bother me ...
Quote
Voltaire
But now I wonder that in the $OnInit-line the _Zoom_BuildButtonMenu is not mentioned ...
# _Zoom_SetAccels{ #setaccel("CTRL VK_MULTIPLY","macros(Zoom_Reset)"); #setaccel("ALT VK_PLUS","macros(Zoom_Images_In)"); #setaccel("ALT VK_ADD","macros(Zoom_Images_In)"); #setaccel("ALT VK_MINUS","macros(Zoom_Images_Out)"); #setaccel("ALT VK_SUBTRACT","macros(Zoom_Images_Out)"); #setaccel("CTRL ALT VK_PLUS","macros(Zoom_Page_In)"); #setaccel("CTRL ALT VK_ADD","macros(Zoom_Page_In)"); #setaccel("CTRL ALT VK_MINUS","macros(Zoom_Page_Out)"); #setaccel("CTRL ALT VK_SUBTRACT","macros(Zoom_Page_Out)"); #} #$OnInit=$OnInit."_Zoom_SetAccels;_Zoom_BuildMenu;"; $OnInit=$OnInit."_Zoom_BuildMenu;";
Quote
Voltaire
Btw: zoom buttons are welcome – but I not only don't need zoom on the keyboard — these keys are interfering with my keyboard layout.
Quote
... so the _Zoom_BuildButtonMenu is not called directly (with OnInit), but (inside the _Zoom_BuildMenu) given to the kToolbars?
_Zoom_BuildMenu{
(....)
setmenu(__Zoom_Out,macro,"&Reset Zoom",Zoom_Reset);
$kToolbars?&_Zoom_BuildButtonMenu:0;
# context menus
setmenu(ImageView,macro,"Zoom I&n",Zoom_Image_In);
setmenu(ImageView,macro,"Zoom Ou&t",Zoom_Image_Out);
}
$kToolbars=getpref(BOOL,"kmeleon.plugins.toolbars.load");
if (getpref(BOOL,"kmeleon.plugins.toolbars.load") == true) &_Zoom_BuildButtonMenu;