Page 1 of 1

Toolbar - Enable Color Filters

Posted: 23 Nov 2016 16:30
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:

Re: Toolbar - Enable Color Filters

Posted: 23 Nov 2016 16:57
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

Re: Toolbar - Enable Color Filters

Posted: 23 Nov 2016 17:12
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);

Re: Toolbar - Enable Color Filters

Posted: 23 Nov 2016 19:05
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: