Toolbar - Enable Color Filters

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Irwin of Upton
Posts: 131
Joined: 28 Feb 2015 19:42

Toolbar - Enable Color Filters

Post by Irwin of Upton »

There is a handy TB button available called Enable Color Filters. It was one of the first on my toolbar.

How would like to add that function to a script. But after pouring through both the Help and PDF cannot find the Command ID to accomplish this.

Two possibilities come to mind: it is there under some other name OR one does not exist.

Please advise ...

:cry:

highend
Posts: 13333
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Toolbar - Enable Color Filters

Post by highend »

There is no command id for that toggle.

You could use http://www.xyplorer.com/xyfc/viewtopic. ... 32#p120032 or sc button if you have the toolbar with that button and if not you'd need to use
colorfilter() but you either have to create your own list of filters for the command or read the from the .ini file first
One of my scripts helped you out? Please donate via Paypal

totmad1
Posts: 131
Joined: 24 Jun 2013 12:37

Re: Toolbar - Enable Color Filters

Post by totmad1 »

I was wondering if SC Button is what is required.
i.e. left click = Button("cofi", 1); //will toggle .
right click = Button("cofi", 2);
totmad1 (totally mad one)

Irwin of Upton
Posts: 131
Joined: 28 Feb 2015 19:42

Re: Toolbar - Enable Color Filters

Post by Irwin of Upton »

@ totmad1 - An awesome job! Your innovative approach accomplishes the the task at hand by a means I would have never thought of.

Will try to remember the SC button for future use. It has the ability to pull my bacon out of the fire for many scripts that I have been struggling with.

Thank you for your time and input. :appl:

Post Reply