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 

Registry Scout

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
Rajat



Joined: 28 Mar 2004
Posts: 1717

PostPosted: Sun Apr 25, 2004 10:20 am    Post subject: Registry Scout Reply with quote

You think going anywhere in registry is easy? think again! try a key like this one:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\{43020c52-f4b3-11d7-96e1-806d6172696f}

beleive me ...there r worse!!

now try it with this:

Code:
InputBox, path, Registry, Enter Registry Path
ifwinnotexist, Registry Editor,, Run, %windir%\Regedit
ifequal,path,, exit

StringReplace, path, path, HKLM, HKEY_LOCAL_MACHINE
StringReplace, path, path, HKCU, HKEY_CURRENT_USER
StringReplace, path, path, HKU, HKEY_USERS
StringReplace, path, path, HKCC, HKEY_CURRENT_CONFIG
StringReplace, path, path, \\, \, A
StringReplace, path, path, {, +[, A
StringReplace, path, path, }, +], A

   
winactivate, Registry Editor
winwaitactive, Registry Editor
send, {home}

Loop, Parse, path, \
{
   send, {right}
   sleep, 200
   send, %A_LoopField%   
}

_________________
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10467

PostPosted: Sun Apr 25, 2004 12:21 pm    Post subject: Reply with quote

That one's definitely going to be useful. Thanks.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions 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