[Script] Restore closed tabs

Discuss and share scripts and script files...
enteleform
Posts: 4
Joined: 25 Jul 2018 06:31

Re: [Script] Restore closed tabs

Post by enteleform »

jupe wrote:Edit the button actions to match below, or use this snippet instead, follow previous instructions for how.
That worked, thanks :tup:

Not too familiar w/ the scripting language yet so didn't know about the unnamed function syntax. Thought the script was truncated & missing some of the named functions from the initial version.

swsfl
Posts: 2
Joined: 14 Aug 2026 13:40

Re: [Script] Restore closed tabs

Post by swsfl »

This one allows closing of hovered tabs (e.g. if you want to include this with middle click close how the native middle click close works), and is updated to fix a glitch I was getting where v0.1 was only saving a maximum of 2 entries.

You need to find this line and enter the file path of the script inside of the quotes (line 54).
$self = "";

Notes indicate how to change the limit of tabs to restore.
May contain bugs with restoring tab formatting (none found yet but only tested for my normal workflow).
To see the attached files, you need to log into the forum.

RalphM
Posts: 2108
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: [Script] Restore closed tabs

Post by RalphM »

So, as your first post on this forum you choose to dig up an 8 year old thread and offer a new version of a script with some very vague description? :whistle: :whistle: :whistle:
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

swsfl
Posts: 2
Joined: 14 Aug 2026 13:40

Re: [Script] Restore closed tabs

Post by swsfl »

Figured it might be helpful but I can just keep my scripts to myself going forward if posting on here by new members is frowned upon.

RalphM
Posts: 2108
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: [Script] Restore closed tabs

Post by RalphM »

Share away but you have to admit that this looked very strange.
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

Post Reply