Close tabs by (partial) matches + wildcards + options

Discuss and share scripts and script files...
Post Reply
highend
Posts: 13311
Joined: 06 Feb 2011 00:33

Close tabs by (partial) matches + wildcards + options

Post 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 89 times
One of my scripts helped you out? Please donate via Paypal

Post Reply