AutoHotkey Community

It is currently May 27th, 2012, 1:42 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: January 17th, 2010, 1:37 am 
Offline

Joined: December 24th, 2009, 2:21 pm
Posts: 14
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 17th, 2010, 1:43 am 
Offline

Joined: April 8th, 2009, 8:23 pm
Posts: 3036
Location: Rio de Janeiro - RJ - Brasil
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.
"
Image
Antonio França
My stuff: Google Profile


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Thank you!
PostPosted: January 17th, 2010, 2:30 am 
Offline

Joined: December 24th, 2009, 2:21 pm
Posts: 14
I looked and looked at it!

I am blind or senile. Or both.

Thank you!

_________________
---------------
Dallas


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: bobbysoon, Google Feedfetcher, JSLover, Tipsy3000 and 17 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group