Location of saved foreground colors

Ask here any questions regarding program functionality
User avatar
rdwray
Posts: 567
Joined: Mon Dec 26, 2011 3:06 pm

Location of saved foreground colors

Post by rdwray »

Where are the foreground colors saved? There is no way to change the color in the dialog without deleting all the colors.
Attachments
Untitled.png
Untitled.png (3.04 KiB) Viewed 1149 times
Take My yoke upon you and learn from Me, for I am gentle and lowly in heart, and you will find rest for your souls.
“For My yoke [is] easy and My burden is light.”
User avatar
JG
Posts: 4599
Joined: Wed Jun 04, 2008 8:34 pm

Re: Location of saved foreground colors

Post by JG »

I am not 100% clear on which colors you mean in your picture.

Settings are stored in the config.ini, so that would be the place to look. custom.colors= looks promising?
Jon
the
Word 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
User avatar
rdwray
Posts: 567
Joined: Mon Dec 26, 2011 3:06 pm

Re: Location of saved foreground colors

Post by rdwray »

"Last used colors" is what I am interested in. I looked in config.ini and there are custom colors listed, but and they do not appear to be the same unless there is some coding I don't understand:

custom.colors=ColorA=1FFF00FF,ColorB=808040,ColorC=004A4A,ColorD=2D0000,ColorE=0053A6,ColorF=BFCCFF,ColorG=FFFFFFFF,ColorH=FFFFFFFF,ColorI=FF00FF,ColorJ=FF004A4A,ColorK=FFFFFFFF,ColorL=330000,ColorM=FFFFFFFF,ColorN=FFFFFFFF,ColorO=FFFFFFFF,ColorP=FFFFFFFF
Take My yoke upon you and learn from Me, for I am gentle and lowly in heart, and you will find rest for your souls.
“For My yoke [is] easy and My burden is light.”
User avatar
JG
Posts: 4599
Joined: Wed Jun 04, 2008 8:34 pm

Re: Location of saved foreground colors

Post by JG »

Seems to be here in decimal format
fmt.bkv.backcolor.recent=
or
fmt.bkv.forecolor.recent=
Jon
the
Word 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
User avatar
rdwray
Posts: 567
Joined: Mon Dec 26, 2011 3:06 pm

Re: Location of saved foreground colors

Post by rdwray »

Did a bunch of checking on this, but that is not the ones in the dialog I posted at first. Here is a list of the values in the dialog:

46848 = FFFF00 = Yellow
16744448 = F80000 = Orange
16711935 = FF00FF = Purple
46080 = 00B400 = Green
6908265 = 696969 = Grey
16711680= FF0000 = Red
6711039 = 6666FF = Blue
13722368 = D16300 = Brown
Take My yoke upon you and learn from Me, for I am gentle and lowly in heart, and you will find rest for your souls.
“For My yoke [is] easy and My burden is light.”
User avatar
JG
Posts: 4599
Joined: Wed Jun 04, 2008 8:34 pm

Re: Location of saved foreground colors

Post by JG »

To be sure which ones it is I suggest to keep a copy of your config.ini
Load up theWord and select a new color to apply to some Bible text, which will be added to your frequently used colors. Close down theWord and compare the two files, to see where the color is stored.
I use a program called "Compare it!"
Jon
the
Word 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
User avatar
rdwray
Posts: 567
Joined: Mon Dec 26, 2011 3:06 pm

Re: Location of saved foreground colors

Post by rdwray »

Finally found it: My.bhls.twm > Browse Data > Config > highlight.fmt.foreclr
Take My yoke upon you and learn from Me, for I am gentle and lowly in heart, and you will find rest for your souls.
“For My yoke [is] easy and My burden is light.”
Post Reply