sshrum Posted February 28, 2007 Share Posted February 28, 2007 AutoIT 3.2.2.0 Don''t see my keys getting written under the HKCR node. My writes to the HKCU seem to be working though. Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' Link to comment Share on other sites More sharing options...
/dev/null Posted February 28, 2007 Share Posted February 28, 2007 AutoIT 3.2.2.0 Don''t see my keys getting written under the HKCR node.My writes to the HKCU seem to be working though.any code to reproduce the problem? __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
sshrum Posted February 28, 2007 Author Share Posted February 28, 2007 (edited) for $i = 1 to $iEnabledMonitors regwrite("HKCR\*\Shell\" & $sAppName & " " & $i,"", "REG_SZ", "Set as display " & $i & " background...") regwrite("HKCR\*\Shell\" & $sAppName & " " & $i & "\command","", "REG_SZ", @ScriptFullPath & " " & $i & "=%1") next This code works fine on my XP system but when I check the registry on Vista...nada. Here's a standalone snip regwrite("HKCR\*\Shell\thisisatest","", "REG_SZ", "Set as display 1 background...") Edited February 28, 2007 by sshrum Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' 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