It is currently October 21st, 2019, 4:13 am

[Feature Request] REG_MULTI_SZ as supported registry key value type

Report bugs with the Rainmeter application and suggest features.
Yincognito
Posts: 658
Joined: February 27th, 2015, 2:38 pm

[Feature Request] REG_MULTI_SZ as supported registry key value type

Yincognito » January 1st, 2019, 3:30 pm

Why not having REG_MULTI_SZ as a supported registry key value type in Rainmeter? I mean, they're just string values, stored and exposed in UTF-16LE, separated and terminated by NUL characters. Rainmeter already handles Unicode, and handling the NUL character in the output shouldn't be that hard to achieve (might as well output it as it is, or concatenate the multiple strings, since they could be further manipulated with a Regex Substitute), right?

Typical usage scenario:

Code: Select all

[MS_Registry_PagingFiles]
Measure=Registry
RegHKey=HKEY_LOCAL_MACHINE
RegKey=SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
RegValue=PagingFiles
RegExpSubstitute=1
Substitute=(some particular substitute option, to handle the "?"-s and the "\n"-s)
UpdateDivider=(some particular update divider)
would get all pagefile files, instead of just the first, as it outputs now. Plus, making this work would avoid launching the more resource intensive WMIC+RunCommand plugin+associated string manipulation combo to get the same result.

Or ... is there any way of getting this and I don't know about it?