Page 1 of 1
custom icon with virtual folder
Posted: 26 Feb 2024 09:14
by zzjean
Hello
I happily use virtual folders from the catalog. It's really very practical.
I have two questions :
1 - Is it possible to put a custom icon on the tab of a virtual folder? (very useful if you iconize the tab)
2- can we force the opening of virtual folders in a new tab?
I didn't find how to do it
Thank you for your help
Re: custom icon with virtual folder
Posted: 27 Feb 2024 09:01
by admin
1. You can define custom tab icons via Rename Tab:
RenameTab.png
2. Hold SHIFT while you click the catalog item. This will always open the location in a new tab.
Re: custom icon with virtual folder
Posted: 27 Feb 2024 09:31
by zzjean
Hello
Thanks for defining the icon. I do not know.
For SHIFT I always forget to press the key. It's just a little annoying

Re: custom icon with virtual folder
Posted: 28 Feb 2024 06:04
by zzjean
Bonjour,
I did this in the catalog :
tab("new","vi:|t|<get pick 5.m d:\rep1> <get pick 5.m d:\rep2>");
tab("rename","last|dernier.ico");
tab("iconize",);
It seems to work. I get the latest files from rep1 and rep2 in a new iconized tab.
Only problem I only have 4 rep1 files instead of 5
Re: custom icon with virtual folder
Posted: 28 Feb 2024 06:47
by jupe
tab("new","vi:<get pick 5.m d:\rep1><crlf><get pick 5.m d:\rep2>");
Re: custom icon with virtual folder
Posted: 28 Feb 2024 07:59
by zzjean
Thank you so much.
I'm not very familiar with scripting. All I've ever learned is a little bit of fortran from the early 70's (yes I'm getting old) not very useful

Re: custom icon with virtual folder
Posted: 28 Feb 2024 08:26
by kiwichick
admin wrote: ↑27 Feb 2024 09:01
Hold SHIFT while you click the catalog item. This will always open the location in a new tab.
Using mouse middle-click is much easier to remember and a catalog item that points to a single folder will open in a new tab using mouse middle-click. However, doing the same with a virtual folder opens it in the current tab AND a new tab. Is that expected behaviour?
Re: custom icon with virtual folder
Posted: 28 Feb 2024 08:43
by admin
jupe wrote: ↑28 Feb 2024 06:47
tab("new","vi:<get pick 5.m d:\rep1><crlf><get pick 5.m d:\rep2>");
Oh, yeah. I'll have to add that to the help.
PS: with a pipe it works as well (and you can drop the
get):
tab("new","vi:<pick 5.m d:\rep1>|<pick 5.m d:\rep2>");
Re: custom icon with virtual folder
Posted: 28 Feb 2024 09:04
by admin
kiwichick wrote: ↑28 Feb 2024 08:26
Using mouse middle-click is much easier to remember and a catalog item that points to a single folder will open in a new tab using mouse middle-click. However, doing the same with a virtual folder opens it in the current tab AND a new tab. Is that expected behaviour?
It doesn't do that here. What is the catalog item?
Re: custom icon with virtual folder
Posted: 28 Feb 2024 21:20
by jupe
admin wrote: ↑28 Feb 2024 08:43
PS: with a pipe it works as well
Yeah I know, I personally just avoid using it, because if you happen to use other scripts that use <get tabs> with that vi tab open, then the parsing gets messed up.
Re: custom icon with virtual folder
Posted: 28 Feb 2024 21:37
by admin
Ah, I see, I see.
Re: custom icon with virtual folder
Posted: 29 Feb 2024 04:17
by jupe
admin wrote: ↑28 Feb 2024 09:04
kiwichick wrote: ↑28 Feb 2024 08:26
Using mouse middle-click is much easier to remember and a catalog item that points to a single folder will open in a new tab using mouse middle-click. However, doing the same with a virtual folder opens it in the current tab AND a new tab. Is that expected behaviour?
It doesn't do that here. What is the catalog item?
kiwichick possibly has CEA\Middle-click on folder == Open in Background Tab, in that case you'd see that behavior, additionally when vi: tabs are opened in the BG (via various means) the tabicon isn't set properly either.
Re: custom icon with virtual folder
Posted: 29 Feb 2024 10:11
by admin
Oh yes. Both fixed in next beta.
Re: custom icon with virtual folder
Posted: 01 Mar 2024 05:09
by kiwichick
jupe wrote: ↑29 Feb 2024 04:17
kiwichick possibly has CEA\Middle-click on folder == Open in Background Tab
I didn't even think about that but, yes, you are correct.