Is it possible to Re-open a closed tab?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Olfert
Junior Member
Junior Member
Posts: 61
Joined: 2006-05-17, 10:55 UTC

Is it possible to Re-open a closed tab?

Post by *Olfert »

Can't find any mention of this feature, so:
Is it possible (by means of hotkey) to reopen a (by mistake) closed tab?
Something like browsers do by CTRL+SHIFT+T ?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Is it possible to Re-open a closed tab?

Post by *ghisler(Author) »

No, just open a new one (Ctrl+T) and use the history (Alt+Cursor down) to return to the previous directory.
Author of Total Commander
https://www.ghisler.com
Olfert
Junior Member
Junior Member
Posts: 61
Joined: 2006-05-17, 10:55 UTC

Re: Is it possible to Re-open a closed tab?

Post by *Olfert »

Ok. That's also what I've been doing so far. Maybe an idea for a future feature ;) ?
Thanks.
User avatar
Hacker
Moderator
Moderator
Posts: 13064
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Is it possible to Re-open a closed tab?

Post by *Hacker »

Christian,
just open a new one (Ctrl+T) and use the history (Alt+Cursor down) to return to the previous directory
This, however, only works if you closed the active tab by accident.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Phred
Senior Member
Senior Member
Posts: 375
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

Re: Is it possible to Re-open a closed tab?

Post by *Phred »

What do you mean by that, Roman?
If you close a tab deliberately, you can't do what Author Ghisler says?

For the mavens reading, is there a way to provide a user-function that would synthesise 'Undo closed tab', and attach it to a keystroke/hotkey?
Regards, PhredE
Licence holder since 1999
Awaiting a $D donors-token for the title-bar so we can display that we have donated further.
User avatar
petermad
Power Member
Power Member
Posts: 14791
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Is it possible to Re-open a closed tab?

Post by *petermad »

is there a way to provide a user-function that would synthesise 'Undo closed tab', and attach it to a keystroke/hotkey?
Command (in usercmd.ini):

Code: Select all

[em_reopentab]
button=wcmicons.dll,83
cmd=cm_OpenNewTab,cm_GotoPreviousDir
menu=Reopen just closed tab

Shortcut (in wincmd.ini):

Code: Select all

[Shortcuts]
CA+T=em_reopentab
Uses Crl+Alt+T to reopen the tab


Button (if you prefer that):

Code: Select all

TOTALCMD#BAR#DATA
cm_OpenNewTab,cm_GotoPreviousDir

wcmicons.dll,83
Reopen just closed tab


-1
To make the button:
1. Mark the green text above (click SELECT ALL).
2. Copy it to the ClipBoard (press Ctri+C).
3. Right click on TC's buttonbar and choose "Paste".
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Olfert
Junior Member
Junior Member
Posts: 61
Joined: 2006-05-17, 10:55 UTC

Re: Is it possible to Re-open a closed tab?

Post by *Olfert »

Thanks Peter :) Works perfectly.

Relocated it to Ctrl+Shift+T as that is what I'm used to - I never used the previous option of "opening tabs in background" anyway...
User avatar
Hacker
Moderator
Moderator
Posts: 13064
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Is it possible to Re-open a closed tab?

Post by *Hacker »

Phred,
What do you mean by that, Roman?
If you close an inactive tab you cannot restore it this way.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Phred
Senior Member
Senior Member
Posts: 375
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

Re: Is it possible to Re-open a closed tab?

Post by *Phred »

Hacker wrote: 2018-08-15, 21:15 UTC Phred,
What do you mean by that, Roman?
If you close an inactive tab you cannot restore it this way.

Roman
Yes, I see. With a mouse-button click or a right-click 'Ctrl-W' selection?
Regards, PhredE
Licence holder since 1999
Awaiting a $D donors-token for the title-bar so we can display that we have donated further.
User avatar
Phred
Senior Member
Senior Member
Posts: 375
Joined: 2009-06-16, 15:24 UTC
Location: SEAu

Re: Is it possible to Re-open a closed tab?

Post by *Phred »

petermad wrote: 2018-08-11, 09:24 UTC
is there a way to provide a user-function that would synthesise 'Undo closed tab', and attach it to a keystroke/hotkey?
Command (in usercmd.ini):

Shortcut (in wincmd.ini):

Button (if you prefer that):

[..snip]
Superb. Thank you kindly.
..into the Wiki.

Tags undo close tab button closed reopen
Regards, PhredE
Licence holder since 1999
Awaiting a $D donors-token for the title-bar so we can display that we have donated further.
User avatar
Hacker
Moderator
Moderator
Posts: 13064
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Is it possible to Re-open a closed tab?

Post by *Hacker »

Phred,
With a mouse-button click or a right-click 'Ctrl-W' selection?
Yes, using any method without actually activating the tab.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Post Reply