Steven Vandenhoute Posted October 23, 2006 Posted October 23, 2006 Is this possible? RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "OriginalWallpaper2", "REG_SC", $wallpaper) When I try to run this line I receives a error the the variable "You cannot solve a problem with the mind that created it" (Albert Einstein)
PaulIA Posted October 23, 2006 Posted October 23, 2006 RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "OriginalWallpaper2", "REG_SC", $wallpaper) The "REG_SC" needs to be "REG_SZ" if you're writing a string. Auto3Lib: A library of over 1200 functions for AutoIt
Steven Vandenhoute Posted October 23, 2006 Author Posted October 23, 2006 RegWrite("HKEY_CURRENT_USER\Control Panel\Desktop", "OriginalWallpaper2", "REG_SC", $wallpaper) The "REG_SC" needs to be "REG_SZ" if you're writing a string. ok, my mistake, now i get it why it doesn't work "You cannot solve a problem with the mind that created it" (Albert Einstein)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now