Lock Icon for Locked Tabs
-
- Posts: 15
- Joined: 06 Oct 2024 18:11
Lock Icon for Locked Tabs
I was using Xplorer2 for many years as file manager replacement for Windows' File Explorer. Last week I discovered this great file manager - XYplorer. I bought lifetime license and now in the process of switching all my home desktop and laptop computers to XYplorer. In Xplorer2, when tab is locked it puts lock icon in the tab. XYplorer using underline when tab is locked. So, my wish:
It would be nice to have lock icon implemented into locked tab instead of underline.
It would be nice to have lock icon implemented into locked tab instead of underline.
Last edited by AgentSmith007 on 09 Oct 2024 12:26, edited 1 time in total.
Rule #39: "There is no such thing as coincidences."
Re: Lock Icon for Locked Folders
Code: Select all
"tab_lock_n_icon"
$caption = tab("get", "caption");
$icon_path = "path\to\icon";
tab("lock");
tab("rename","$caption|$icon_path")
-
- Posts: 15
- Joined: 06 Oct 2024 18:11
Re: Lock Icon for Locked Folders
Thanks for this. But I am only using XY for a week and I don't have a clue where to put this script.bossi wrote: ↑09 Oct 2024 04:46this does what you describeCode: Select all
"tab_lock_n_icon" $caption = tab("get", "caption"); $icon_path = "path\to\icon"; tab("lock"); tab("rename","$caption|$icon_path")
Can you provide some guidance, please?
P.S.
I figured it out. This is cool.
Rule #39: "There is no such thing as coincidences."
-
- Posts: 15
- Joined: 06 Oct 2024 18:11
Re: Lock Icon for Locked Folders
Is there a way to remove underline in the locked tab?
Rule #39: "There is no such thing as coincidences."
Re: Lock Icon for Locked Folders
Afaik: no
One of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 62251
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Lock Icon for Locked Folders
I'll add a tweak to make it possible.
FAQ | XY News RSS | XY Twitter
Re: Lock Icon for Locked Folders
You could add a tweak to let the user choose his own icon that gets automatically applied to locked tabs as well
I'd like it
I'd like it
One of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 62251
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Lock Icon for Locked Folders
I'd find it odd if all locked tabs showed the same icon. I use icons for orientation.
FAQ | XY News RSS | XY Twitter
-
- Posts: 15
- Joined: 06 Oct 2024 18:11
Re: Lock Icon for Locked Tabs
Rule #39: "There is no such thing as coincidences."
-
- Site Admin
- Posts: 62251
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Lock Icon for Locked Tabs
So you found out how to tweak by yourself? Smart!
FAQ | XY News RSS | XY Twitter
-
- Posts: 15
- Joined: 06 Oct 2024 18:11
Re: Lock Icon for Locked Tabs
Thanks.
I am an IT guy. First four years of my IT career worked as desktop support for hardware and software, and then as webmaster/web designer for 25 years.
Now enjoying my retirement.
Rule #39: "There is no such thing as coincidences."