I am trying to read the value of this key:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2]
"Settings"=hex:28,00,00,00,ff,ff,ff,ff,02,00,00,00,00,00,00,00,3e,00,00,00,2e,\
00,00,00,00,00,00,00,00,00,00,00,3e,00,00,00,b0,04,00,00
This was extracted from a .reg file. I've opened up with regedit and the key is definitley there with the path as above and in my code below.
Can anyone tell me why this doesn't work?
What am I missing?
Code:
RegRead, RegValue, HKEY_LOCAL_MACHINE, Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2, Settings
MsgBox, Key: %RegValue%