Quote
yoshitoI want the button to close all left or right tabs.
However, as far as I search, K-Meleon doesn't have such commandline.
Help me
Don't know how either, sorry. Perhaps anyone else?
Do you need this function very often?
And if you simply close each tab by a
Middle-Click? That's what I'm doing all the time, and I find it quite fast. No prob.
I would try making a macro for "close all left or right", but the prob is, macrolanguage has no function to identify the FIRST tab. It only knows how many tabs are open. Occasionally we have already missed that function for a few other macros too.
If someone needs such a function really very, very much, the only lousy workaround I can think of at the moment is to open and keep a special dummy tab as the first one at the left side. As long as it remains open and in 1st position, this tab could serve as a marker for a new macro to "find" the first tab, by hopping from tab to tab and comparing the URL, and closing all tabs until they find this dummy tab and stop. Either going left or right.
But the catch is, you'd always have an annoying empty tab lying around. And in every new window it must be added again. The macro could open those tabs automatically, but tabs open at the right side, not the left. So it must be moved manually by the user.
Hmm, thinking about it, that dummy tab need not be completely useless and empty. It could be any local file, just marked for this new macro with a special hash tag in URL, like this:
file:///c:/......mylinks.html#macroTab1
But still tedious, users must make sure to keep this tab open and in 1st position at left. Probably not worth the hassle.
(Edit half a year later:
if anyone needs such an
automatic "first" tab, that is possible now. It's a side-effect of my new macro "OnCloseLastTab"
http://kmeleonbrowser.org/forum/read.php?9,149604 )
Edited 1 time(s). Last edit at 07/05/2019 11:59PM by siria.