Simple Startup Tabs Question

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Dave-X
Posts: 27
Joined: 22 Dec 2009 22:40

Simple Startup Tabs Question

Post by Dave-X »

New to XY and had a simple question about Startup tabs.

What I want is a "My Computer" tab opened and locked each time I start-up XY. What I don't want is the history restored of all the tabs opened from the last session. I simple want "My Computer" opened only and locked. I've tried toggling "Don't save history" and/or "Don't save tabs". Either one will not save the right tabs or one will not save the locked state of "My Computer".

How can I achieve this?

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Simple Startup Tabs Question

Post by zer0 »

Hello and welcome to the club!

Would navigating to 'My Computer', right-clicking on that tab and clicking on 'Lock Location' achieve the result that you require? New locations will be opened in a new tab(s) and by ticking 'Don't save tabs' you'll have only 'My Computer' upon each start :)
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

Dave-X
Posts: 27
Joined: 22 Dec 2009 22:40

Re: Simple Startup Tabs Question

Post by Dave-X »

zer0 wrote:Hello and welcome to the club!

Would navigating to 'My Computer', right-clicking on that tab and clicking on 'Lock Location' achieve the result that you require? New locations will be opened in a new tab(s) and by ticking 'Don't save tabs' you'll have only 'My Computer' upon each start :)
That almost does exactly that, but it DOES not save the locked status of the tab. So each time I close XY, the tab is unlocked and will not open tabs beside it. It needs to start locked.

admin
Site Admin
Posts: 66350
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Simple Startup Tabs Question

Post by admin »

Dave-X wrote:
zer0 wrote:Hello and welcome to the club!

Would navigating to 'My Computer', right-clicking on that tab and clicking on 'Lock Location' achieve the result that you require? New locations will be opened in a new tab(s) and by ticking 'Don't save tabs' you'll have only 'My Computer' upon each start :)
That almost does exactly that, but it DOES not save the locked status of the tab. So each time I close XY, the tab is unlocked and will not open tabs beside it. It needs to start locked.
Not possible at the moment. "Don't save tabs" forgets all tab info and you start with one vanilla tab pointing to the last location.

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

Re: Simple Startup Tabs Question

Post by RalphM »

Why don't you lock your only tab you want to keep , tick Save Tab Data and create a UDC or catalog entry to Close all other unlocked tabs (:: #352), which you have to run after restart of XY...
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

Dave-X
Posts: 27
Joined: 22 Dec 2009 22:40

Re: Simple Startup Tabs Question

Post by Dave-X »

New too the application, how would I go about doing that?

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: Simple Startup Tabs Question

Post by jacky »

Well, if you don't mind having to start a script manually on start-up (that can be just clicking on a TB button or hitting a KS), simply assign to a Catalog (F8) item, User-Defined Command (menu User, under category Run Script) or even a Custom Toolbar Button the following script:

Code: Select all

::#340; #353; goto %computer%; #350;
Only downside is that you'll get prompted ("Close all other tabs (including locked and home tabs) and lose all their settings?") but after you clicked OK, you'll only have one single tab opened, locked on My Computer.

FYI what the script does:
#340; // Open New Tab, this is to ensure we're not on a locked tab
#353; // Close All Other Tabs, so there's only the current one left
goto %computer%; // Go to My Computer
#350; // Lock Location, voilà!
Proud XYplorer Fanatic

Post Reply