@tig said:
The registry entry isn't updated until Sketchup closes, so you can't check that while inside a SKP, BUT you can get it at startup.
Sorry, forgot to note that. (Added a note to my previous post.)
@tig said:
Incidentally, if you try 'read_default' for 'Visible' it fails to get it as I suspect it's the wrong sort of key [i.e. not REG_Z] ?
Yep... Sketchup.read_default() still cannot read DWORD values (and also seems not to be able to read even string values in some of the OEM keys, which I never noticed happen in v7.)
I use Win32API calls to read entries (of all types) in the OEM keys. (Requires the Win32API.so file.)