: K-Meleon Forum
K-Meleon development related discussions.
[quote=JamesD] [quote=deadlock] >Also you must use one of the methods >which uses the zoom.kmm file in order >for the zoom action to be captured. That is wrong. Zoom.kmm must learn to read zoom level of active view. >There are ways to zoom that do not use zoom.kmm. >I don't see the point at which the other methods enter zoom.kmm. As I told you before - they do not use it! Delete it and use keyboard and mouse wheel zoom. [/quote] Those are conflicting goals. From my recent research: 1) All zooming seems to start from a value of 10. 2) The text zoom value is reported in Special Global Variables as $TextZoom. It is also shown in the statusbar after a change. 3) The full zoom value is shown in the statusbar after a change, except when the change is by the mouse wheel. It is not reported in the Special Global Variables. 4) The zoom.defaultPercent affects how much of the page is shown, but zooming always begins at a value of 10. It is of no use to us here. 5) Only values reported in Special Global Variables are available to the macro language. 6) There are two other zooms. One is image (singular) and the other is images (all). They don't ever seem to be reported. If all methods of zooming reported $TextZoom, $FullZoom, and $ImagesZoom to the Special Global Variables, Zoom.kmm would not need to maintain any counts. On a request to reset, it would just compare the various reported zooms to 10 and zoom in or out based on the difference. $FullZoom and $ImagesZoom reporting does not exist yet. Singular image zooms I would ignore for reset purposes.[/quote]
K-Meleon forum is powered by