Page 1 of 1

Close tabs by (partial) matches + wildcards + options

Posted: 01 Jun 2017 07:43
by highend
A small script that I use regularly...

It asks for a string to enter.
The string must match a part of any of your tabs' path.
Multiple strings are allowed. Separated by "|".
Wildcards (* and ?) are allowed
Options (atm only " /f" to closed locked location tabs) are supported

Examples:
The default value

Code: Select all

*
closes all non locked (location) tabs

Code: Select all

* /f
closes all tabs, even locked ones

Code: Select all

audio_??|video* /f
closes all tabs, even locked ones, which
contain "audio_??" (which would match e.g. "audio_01" or "audio_25", etc.)
somewhere in their path or "video*" (which would match e.g. "video" and "videos")

Download:
Close tabs by partial path v0.1.zip
(1.2 KiB) Downloaded 90 times