[Solved] Determine current status of Instant Color Filters
-
klownboy
- Posts: 4481
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
[Solved] Determine current status of Instant Color Filters
Hi Don, a numbers of recent scripts are now colorizing tree and list folders on CEA - Changing Locations and for other reasons. Would it be possible to get a new get("CID") for Instant Color Filters? We can toggle ICFs with #1077 and of course there's a toolbar button, but for scripting purposes it would be nice to be able to retrieve the current state of Instant Color Filters to determine if we need to turn them on or turn them off. Thanks.
Last edited by klownboy on 20 Oct 2021 23:43, edited 1 time in total.
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Determine current status of Instant Color Filters
Am I missing something, Ken?
colorfilter()?One of my scripts helped you out? Please donate via Paypal
-
klownboy
- Posts: 4481
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
Re: Determine current status of Instant Color Filters
Hi highend. You're not missing anything, but I was.
No need for a
These work fine.
get("CID"); Thanks.These work fine.
Code: Select all
if(colorfilter()) {
colorfilter("");
}
else {
colorfilter("ageC: d;ageM: d>FFFFFF,70B926");
}
//or this opposite check
if (colorfilter() == "") {
colorfilter("ageC: d;ageM: d>FFFFFF,70B926");
}
else {
Colorfilter("");
}
XYplorer Beta Club