MAXScript vs Windows registry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all!
I'm really confused with MXS's abilities in registry viewing.
The Help says:
"
registry.queryValue <HKey> <string valueName> type:<&name> value:<&value> expand:<bool>
Gets the data type and value of the specified value of the open HKey.
...
If the query is successful, the data type will be written to the type keyword variable.
If the query is successful and the data type is one of the following supported data types, the data value will be written to the value keyword variable.
...
Other data types that may be returned, but are not currently supported, are:
#REG_BINARY
"
But I need to get a value of type REG_BINARY! Why MXS fails every time I want to do something cool?![]()
Actually, I'm trying to get actual monitor size from EDID(that method's described as the most efficient since Windows 7 gives too large values using GetDeviceCaps(IntPtr hdc, int nIndex); from WINAPI).
Is there any way to get such registry value?
Code's in the attach.
