Skip to main content
Topic: Where are the colors from Tools/Options/Color Tab stored? (Read 1776 times) previous topic - next topic

Where are the colors from Tools/Options/Color Tab stored?

Hello,
Via 'Tools/Options/Color Tab' you can change the colors. But I wonder: where are the stored?
I have written some tools where one can set the color of an object or staff, but I can't show the exact color next to the names ('Highlight 1', ...) in the dialog box.
If I knew where I could find the color values from the Tool/Options, I could present a more user friendly dialog box.
Always look on the bright side of life!

Re: Where are the colors from Tools/Options/Color Tab stored?

Reply #1
They're in the registry:
HKEY_CURRENT_USER\Software\NoteWorthy Software\NoteWorthy Composer 2\StaffColors
I plays 'Bones, crumpets, coronets, floosgals, youfonymums 'n tubies.

Re: Where are the colors from Tools/Options/Color Tab stored?

Reply #2
Thanks Lawrie, but I don't find a sub directory 'Software'.
I have version 2.8 Beta 1 of NWC and Windows 10, if that's important.
It's not a folder, it's a registry key.  You can manually check it out with "regedit" (part of windoze), but I have no idea how to extract data programatically.  Can't be too hard as pretty much every application written for windoze uses the registry.
I plays 'Bones, crumpets, coronets, floosgals, youfonymums 'n tubies.

Re: Where are the colors from Tools/Options/Color Tab stored?

Reply #3
OK, thanks.
Now I  just have to find out how to access the registry information in a user tool...:))
Always look on the bright side of life!


 

Re: Where are the colors from Tools/Options/Color Tab stored?

Reply #5
THANKS!
Always look on the bright side of life!