I use the Mercurial SCM and the TortoiseHg explorer extensions. XYplorer does a great job of showing the icon overlays for tracked files. There are times, however, when I just wish to quickly browse through my files and don't want the added delay of icon overlays. I would like to make a script that toggles the "Show Icon Overlays" setting. Does anyone know how to do this?
Thanks!
Show Icon Overlays Setting Toggle
Re: Show Icon Overlays Setting Toggle
Unfortunately the only way to achieve this today via scripting, requires restarting XYplorer.
If Don adds this to the Setting() command, you could get that down to 3 lines without a restart, and if he graced us with the ability to toggle or retrieve those settings, it could be 2 or even 1.
Code: Select all
"Toggle Icon Overlays"
#182; //Save All Settings
//Toggle Overlays
GetKey($v, "ShowIconOverlays", "Settings");
SetKey($v XOR 1, "ShowIconOverlays", "Settings");
#190; //Restart without Saving.
Re: Show Icon Overlays Setting Toggle
Thanks for the quick reply and the script. I will add a feature request to Don's already long list.
Thanks again.
Thanks again.
-
admin
- Site Admin
- Posts: 64900
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Show Icon Overlays Setting Toggle
A general functionality to change INI values on the fly is impossible because each value needs its own specific handling, and there are hundreds of values. Forget it, TheQwerty.byates wrote:Thanks for the quick reply and the script. I will add a feature request to Don's already long list.
The only hope for byates is to find more users that badly need to have "Show Icon Overlays" added to the main menu -- that's the only way to get a KS/UDC/Script/whatever for it. However, even then this looks like a lo prio wish for me...
FAQ | XY News RSS | XY X
Re: Show Icon Overlays Setting Toggle
Don't worry about this particular setting as the script that TheQwerty posted works great. The required restart is not an issue here. Having a generalized setting API would be nice though
.
Thanks!
Thanks!
-
admin
- Site Admin
- Posts: 64900
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Show Icon Overlays Setting Toggle
Oh yes, I definitely like this part of it:byates wrote:Don't worry about this particular setting as the script that TheQwerty posted works great.
Code: Select all
$v XOR 1FAQ | XY News RSS | XY X
Re: Show Icon Overlays Setting Toggle
i wouldn't say i need it that much, but i sure miss a quick way to toggle this setting.admin wrote:The only hope for byates is to find more users that badly need to have "Show Icon Overlays" added to the main menu
my situation is the opposite of byates.
i usually leave icon overlays disabled to improve speed, but i often have to turn it on to check for hardlinks or work with some files.
so an easily accessible toggle command would be really nice.
My shared scripts:
TeraCopy Integration, Tag Manager, Comments Menu, Text Replacer, Image and Media Tools, Checksum Calculator, Video Calculator
only 5 URLs are allowed on the sig...
TeraCopy Integration, Tag Manager, Comments Menu, Text Replacer, Image and Media Tools, Checksum Calculator, Video Calculator
only 5 URLs are allowed on the sig...
XYplorer Beta Club