Steven Vandenhoute Posted October 23, 2006 Share 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) Link to comment Share on other sites More sharing options...
PaulIA Posted October 23, 2006 Share 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 Link to comment Share on other sites More sharing options...
Steven Vandenhoute Posted October 23, 2006 Author Share 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) Link to comment Share on other sites More sharing options...
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