AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ReadReg not getting hex values

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Lewrex



Joined: 24 Dec 2009
Posts: 14

PostPosted: Sun Jan 17, 2010 12:37 am    Post subject: ReadReg not getting hex values Reply with quote

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%

_________________
---------------
Dallas
Back to top
View user's profile Send private message
MasterFocus



Joined: 08 Apr 2009
Posts: 3035
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Sun Jan 17, 2010 12:43 am    Post subject: Reply with quote

Shouldn't it be HKEY_CURRENT_USER (or HKCU) instead of HKEY_LOCAL_MACHINE (or HKLM)?
_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"

Antonio França
My stuff: Google Profile
Back to top
View user's profile Send private message Visit poster's website
Lewrex



Joined: 24 Dec 2009
Posts: 14

PostPosted: Sun Jan 17, 2010 1:30 am    Post subject: Thank you! Reply with quote

I looked and looked at it!

I am blind or senile. Or both.

Thank you!
_________________
---------------
Dallas
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group