Page 2 of 2

Re: Color of Tabs in Info Panel

Posted: 27 Jan 2015 21:31
by kodyman
To all above, thanks for these tips. Many times I wished the IP Tabs were easier to distinguish.

I pulled my hair out for a while too trying to figure out why the tabs colors didn't change after making any of the above settings. Then I realized why.

Make sure you have XY closed when you make changes to the ini IF you have XY set to save changes on exit. Otherwise you overwrite the change(s) made when you close XY and they revert back. Or close XY without saving. Then re-open and they take effect the next time you start.

To the seasoned users this is a no brainer. And making changes to the ini is probably covered in the help and I'm pretty sure in other posts. Having the ini tip here too may save some frustration and un-necessary questions.

Re: Color of Tabs in Info Panel

Posted: 28 Jan 2015 04:38
by Stef123
Big sigh of relief - finally got it all worked out. :tup:
kodyman wrote:To all above, thanks for these tips. Many times I wished the IP Tabs were easier to distinguish.

I pulled my hair out for a while too trying to figure out why the tabs colors didn't change after making any of the above settings.
Yep, many thanks indeed. I also have my own bundle of ini-frustrations, tedious WinMerge compare re-builds, and some lessons I learned the hard way. Such as never simply adding lines anywhere - a big No-No - but rather waiting for the official update, then looking up the new ini-additions.

I still think this were a good idea: http://www.xyplorer.com/xyfc/viewtopic. ... hilit=+ini

Re: Color of Tabs in Info Panel

Posted: 28 Jan 2015 07:57
by bdeshi
kodyman wrote:Make sure you have XY closed when you make changes to the ini IF you have XY set to save changes on exit. Otherwise you overwrite the change(s) made when you close XY and they revert back. Or close XY without saving. Then re-open and they take effect the next time you start.
I used to have a sticky addressbar entry for this job:

Code: Select all

::$k='<INI KEY>';$s='<INI SECTION>';$t="<INPUT TITLE>";$d="<INPUT DESCR>";$v=input($t,$d,getkey($k,$s),s);if (confirm("XY will restart to apply the setting.<crlf 2>save current settings beforehand?")==1){savesettings;} setkey $v,$k,$s;exit 'nr';
I just replace <INI KEY>, <INI SECTION> with the needed values, (and optionally add a INPUT TITLE and INPUT DESCR when publishing), and the script does all the manual labor.

and now I have an (updated) alias that can also set multiple keys in one go:

Code: Select all

@setting=::$k='<@1>';$s='<@2>';$t="<@3 <@1>>";$d="<@4>";if (confirm("XY will restart to apply the setting.<crlf 2>save current settings beforehand?")==1){savesettings} $n=gettoken($k,count,'|');$c=1;while ($c<=$n){$key=gettoken($k,$c,'|');$sec=gettoken($s,$c,'|');$tpc=gettoken($t,$c,'|');$dsc=gettoken($d,$c,'|');setkey input($tpc,$dsc,getkey($key,$sec),s),$key,$sec;$c++} exit nr;
So I can just enter this in the addressbar:

Code: Select all

@setting TabIPVisualStyle|TabIPUseCustomColors, Settings|Settings,, set to 0 or 1|set to 1