Where are the colors from Tools/Options/Color Tab stored? 2021-03-01 10:37 AM 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. Quote Selected
Re: Where are the colors from Tools/Options/Color Tab stored? Reply #1 – 2021-03-01 10:53 AM They're in the registry:HKEY_CURRENT_USER\Software\NoteWorthy Software\NoteWorthy Composer 2\StaffColors Quote Selected
Re: Where are the colors from Tools/Options/Color Tab stored? Reply #2 – 2021-03-01 11:54 AM Quote from: Opagust – 2021-03-01 11:41 AMThanks 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. Quote Selected
Re: Where are the colors from Tools/Options/Color Tab stored? Reply #3 – 2021-03-01 11:58 AM OK, thanks. Now I just have to find out how to access the registry information in a user tool... Quote Selected
Re: Where are the colors from Tools/Options/Color Tab stored? Reply #4 – 2021-03-01 01:19 PM Don't know if these will be helpful:https://docs.microsoft.com/en-us/windows/win32/sysinfo/retrieving-data-from-the-registryhttps://stackoverflow.com/questions/34065/how-to-read-a-value-from-the-windows-registry Quote Selected
Re: Where are the colors from Tools/Options/Color Tab stored? Reply #5 – 2021-03-01 02:21 PM THANKS! Quote Selected 1 Likes