Jump to content

RegJumper v 1.0.1.7 Update of 12 Oct 2014


wakillon
 Share

Recommended Posts

  • 6 months later...

Very Useful.

On some websites i see reg adresses like "HKLM - Software - Microsoft - Windows"

or "HKLM \Software \Microsoft \Windows" and ohters.

to change it not manually i would like to filter these strings with :

$String = StringRegExpReplace ($String, "(\h+.*?\h+)", '\\')
$String = StringRegExpReplace ($String, '([\[\]"])', '')

Where can I insert in your code?

Link to comment
Share on other sites

RegJumper already support reduced key headers as HKLM.

for "HKLM - Software - Microsoft - Windows" you can change the _RegKeyAdaptToOs function like this

[/font][/color]

Func _RegKeyAdaptToOs ( $_RegKey )
    $_RegKey = StringRegExpReplace ( $_RegKey, "(\h+.*?\h+)", '\\' )
    $_RegKey = StringRegExpReplace ( $_RegKey, '([\[\]"])', '' )
    Local $_RegKeyIs64BitEnv = _RegKeyIs64BitEnv ( $_RegKey )
    Local $_OsIs64BitEnv = _OsIs64BitEnv ( )
    If $_RegKeyIs64BitEnv And Not $_OsIs64BitEnv Then $_RegKey = StringReplace ( $_RegKey, '64', '', 1 )
    Return $_RegKey
EndFunc ;==> _RegKeyAdaptToOs ( )

[color=#282828][font=helvetica, arial, sans-serif]
Edited by wakillon

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

  • 2 months later...

Thank you.

Yes, i saw it with the reduced key headers as HKLM in your Code.

Hm, i thougt that StringRegExpReplace would also catch the space bevor the Slash... :huh2:

I had to remove a part of your function because it doesn't work with some keys.

Updated too, due to some registry keys who were not found and so not opened with the proper Regedit.exe on 64 bit.

:)

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

Ah sorry, here it is:

Line... C:TempRegjumper2.exe -> Local $_RegKeyIs64BitEnv = _RegKeyIs64BitEnv ( $_RegKey )

Error: Variable cannot be accessed in this manner.

HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciescomdlg32PlacesBar

AutoIt3 v3.3.9.5, SciTE v3.2.0, AutoIt3Wrapper v.2.1.0.33, OS:WIN_7/Service Pack 1, CPU:X64 OS:X86

Edited by burnell
Link to comment
Share on other sites

Ah sorry, here it is:

Line... C:TempRegjumper2.exe -> Local $_RegKeyIs64BitEnv = _RegKeyIs64BitEnv ( $_RegKey )

Error: Variable cannot be accessed in this manner.

HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciescomdlg32PlacesBar

AutoIt3 v3.3.9.5, SciTE v3.2.0, AutoIt3Wrapper v.2.1.0.33, OS:WIN_7/Service Pack 1, CPU:X64 OS:X86

I have never seen this error message...and have tried your key on Win 7 and AutoIt 3.3.9.5 ( compiled and not ) without problems...

I can't reproduce this error...

Did you try with last AutoIt Release too ?

Also you can try my compiled version . :huh:

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

your compiled RegJumper run,

i reinstalled AutoIt3 with newest + SciTE but with no luck, same error!

so i had to look ...

thank you anyway...

If i understand well, with my compiled version there is no error ? and reg key is well open in regedit ?

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

  • 11 months later...
  • 2 months later...
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...