View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0020432 | MMW 5 | Extensions framework | public | 2023-11-24 07:43 | 2024-03-25 12:55 |
Reporter | zvezdan | Assigned To | |||
Priority | high | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Target Version | 5.1 | Fixed in Version | 5.1 | ||
Summary | 0020432: Ability to read (and maybe write) registry values in JS needed | ||||
Description | I am trying to create a skin that should look as a standard Windows application as much as it could be possible. I want to set color values of some skin elements using Windows system colors that are not available with system colors available in CSS (https://www.w3.org/TR/css-color-4/#css-system-colors). So, I would like to read the Computer\HKEY_CURRENT_USER\Control Panel\Colors registry section to be able to get these values. MM4 had a nice SDBRegistry class with Get/Set StringValue property, but it seems no such thing exists in MM5. By the way, your utils class is so poorly documented on the old API with so many functions missing (https://www.mediamonkey.com/docs/api/classes/Utils.html), and the new API don't mention it all (https://www.mediamonkey.com/docs/apinew/index.html). It was no such fun searching your JS source code to find if MM5 supports something like reading the registry, since search for utils. returns more than 1000 results. The only related thing that I found is app.utils.getTaskbarColor(), which doesn't return a correct value on my Windows 11 at all: {r: 45, g: 181, b: 236}. | ||||
Tags | No tags attached. | ||||
Fixed in build | 2832 | ||||