Page 1 of 1
open catalog in same tab
Posted: 11 Dec 2008 09:01
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)

. 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?
Re: open catalog in same tab
Posted: 11 Dec 2008 11:39
by admin
Hmm... this is not possible.
Do you always lock your tabs? Do you always hold Shift when clicking a Catalog item?
Re: open catalog in same tab
Posted: 11 Dec 2008 16:43
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.
Re: open catalog in same tab
Posted: 12 Dec 2008 10:37
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) :-)
Re: open catalog in same tab
Posted: 12 Dec 2008 11:51
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...

There's some misunderstanding here somewhere...
Re: open catalog in same tab
Posted: 12 Dec 2008 12:58
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.
Re: open catalog in same tab
Posted: 12 Dec 2008 13:19
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.
Re: open catalog in same tab
Posted: 12 Dec 2008 13:29
by lanel
Glad it makes sense now
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?
Re: open catalog in same tab
Posted: 12 Dec 2008 14:10
by admin
lanel wrote:Glad it makes sense now
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?
Re: open catalog in same tab
Posted: 12 Dec 2008 14:20
by lanel
yep, correct!
goto does exactly what I want, thanks for the help!
Have an awesome Christmas and New Years all!
Re: open catalog in same tab
Posted: 12 Dec 2008 22:03
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...
