open catalog in same tab

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
lanel
Posts: 18
Joined: 17 Aug 2008 12:57

open catalog in same tab

Post by lanel »

Hi there, i know this might seem like a "duh" question but I can't seem to find this setting anywhere (if it exists) :oops: . No luck searching the forums either

When opening a folder *via the catalog*, it will always open in a new tab (unless it already exists, of course). The result is that after a while I've got 10 tabs open. Is there a way to open the folder in the currently active tab instead of a new one?

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

Re: open catalog in same tab

Post by admin »

Hmm... this is not possible. :mrgreen:

Do you always lock your tabs? Do you always hold Shift when clicking a Catalog item?

graham
Posts: 457
Joined: 24 Aug 2007 22:08
Location: Isle of Man

Re: open catalog in same tab

Post by graham »

If you set in config the max number of tabs then I think it should work as you want - not tried this myself but if the max is set to 3 then new tabs should replace an existing one.

lanel
Posts: 18
Joined: 17 Aug 2008 12:57

Re: open catalog in same tab

Post by lanel »

Ah, I did some more digging and found something interesting

It works fine when opening a "normal" catalog item... but when you have a sub-item that points to a folder, that always opens in a new tab!

That's actually the only way I use the catalog (sub-items) :-)

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

Re: open catalog in same tab

Post by admin »

lanel wrote:Ah, I did some more digging and found something interesting

It works fine when opening a "normal" catalog item... but when you have a sub-item that points to a folder, that always opens in a new tab!

That's actually the only way I use the catalog (sub-items) :-)
Can you provide a screenshot or so? I never knew that the Catalog supports sub-items... :wink: There's some misunderstanding here somewhere...

lanel
Posts: 18
Joined: 17 Aug 2008 12:57

Re: open catalog in same tab

Post by lanel »

Sure, here you go... there's also a similar example in the "sample" catalog that is loaded when you first install XYPlorer, I actually used that as a template for mine.
You do not have the required permissions to view the files attached to this post.

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

Re: open catalog in same tab

Post by admin »

Ah, so you are calling an item with a script resource. Now I have to see that script to tell what's going on.

lanel
Posts: 18
Joined: 17 Aug 2008 12:57

Re: open catalog in same tab

Post by lanel »

Glad it makes sense now :lol:

Very basic:

"January"
open "Documents\Reports\January"
"February"
open "Documents\Reports\February"

etc....

Is there something I can add to the script so that it opens in the current tab?

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

Re: open catalog in same tab

Post by admin »

lanel wrote:Glad it makes sense now :lol:

Very basic:

"January"
open "Documents\Reports\January"
"February"
open "Documents\Reports\February"

etc....

Is there something I can add to the script so that it opens in the current tab?
Yes, use goto instead of open! :)

That "open" works at all is only possible if you edit your registry to make XY the default file manager, which you apparently did, right?

lanel
Posts: 18
Joined: 17 Aug 2008 12:57

Re: open catalog in same tab

Post by lanel »

yep, correct!

goto does exactly what I want, thanks for the help!

Have an awesome Christmas and New Years all!

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

Re: open catalog in same tab

Post by admin »

lanel wrote:yep, correct!

goto does exactly what I want, thanks for the help!

Have an awesome Christmas and New Years all!
Easy, easy, it's still some days to go... :wink:

Post Reply