Jump to content
Sign in to follow this  
JoeB

Help with registry editing

Recommended Posts

JoeB

hi all,

First off... TOTAL noob here, so I really know next to nothing other than what I've played around with using AutoIT (which was just a RegRead command and a msgbox result)

I'm using SciTE4AutoIT3 and trying to find a way around a registry problem I'm having. Working on deploying an application (WordPerfect 14) to 300 or so users and need to customize a key.

HKCU\Software\Corel\WordPerfect\14\Toolbar contains a bunch of entries that are in hex. One of the values that I want, contains a reference to "C:\documents and settings\admin\application data...etc"

I need to be able to change the "admin" to whomever is currently logged into the computer, or it won't grab the toolbars properly.

The actual registry entry for the one I want to edit is:

[HKEY_CURRENT_USER\Software\Corel\WordPerfect\14\Toolbar]

"Toolbar 1 Attributes"=hex(80000001):d6,01,57,00,6f,00,72,00,64,00,50,00,65,00,\

72,00,66,00,65,00,63,00,74,00,20,00,42,00,72,00,61,00,79,00,74,00,6f,00,6e,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,01,00,00,04,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,01,00,01,00,00,00,01,00,\

00,00,43,3a,5c,44,6f,63,75,6d,65,6e,74,73,20,61,6e,64,20,53,65,74,74,69,6e,\

67,73,5c,61,64,6d,69,6e,5c,41,70,70,6c,69,63,61,74,69,6f,6e,20,44,61,74,61,\

5c,43,6f,72,65,6c,5c,50,65,72,66,65,63,74,45,78,70,65,72,74,5c,31,34,5c,45,\

4e,5c,43,75,73,74,6f,6d,20,57,50,20,54,65,6d,70,6c,61,74,65,73,5c,77,70,31,\

34,55,53,2e,77,70,74,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\

00,00,00

At the start, it says the name of the toolbar "WordPerfect Brayton" (actually says O.W.o.r.d.P.e.r.f.e.c.t. .B.r.a.y.t.o.n.), then towards the middle is the reference to the location of the file that contains the toolbar "C:\Documents and Settings\admin\Application Data\Corel\PerfectExpert\14\EN\Custom WP Templates\wp14US.wpt"

Is there a way to accomplish this? I see the "@UserName" option in SciTE, but not sure how to implement in script.

Thanks very much in advance

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.