Sign in to follow this  
Followers 0
win2k

modify a registry key?

10 posts in this topic

I know how to delete keys and write them to the registry, but is there a way to modify and existing key using auto it?

Share this post


Link to post
Share on other sites



I know how to delete keys and write them to the registry, but is there a way to modify and existing key using auto it?

RegWrite?

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

RegWrite?

I tried that, it just adds a duplicate key. I cant delete the file and re-write it either, i just have to change its value. I am not sure if you can do that though.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

I tried that, it just adds a duplicate key. I cant delete the file and re-write it either, i just have to change its value. I am not sure if you can do that though.

Did you try searching scripts and scraps?

Edit:

I didn't go through them all, but this might help.

http://www.autoitscript.com/forum/index.ph...545&hl=Reg*

Edited by SmOke_N

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

If its creating a duplicate key, you must be making a typo. I have never had a problem like that.

Share this post


Link to post
Share on other sites

If its creating a duplicate key, you must be making a typo. I have never had a problem like that.

RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DVFaxNotifyServer","ObjecName","REG_SZ",$Domain_Name & $edmmt)

Unless I am missing something here. I cant add a duplicate key by hand but auto will put one there.

Share this post


Link to post
Share on other sites

Looks like you may indeed be typing it wrong... are you sure it isnt supposed to be ObjectName instead of ObjecName

Share this post


Link to post
Share on other sites

lol, d'oh!


---"Educate the Mind, Make Savage the Body" -Mao Tse Tung

Share this post


Link to post
Share on other sites

lol, d'oh!

Fark! your right. I guess thats another reason to have someone else check your code when something like that happens

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  
Followers 0