Jump to content

Recommended Posts

Posted

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 *

Posted (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 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'

 

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
×
×
  • Create New...