[Tutor] Registry Stuff

Alan Gauld alan.gauld at freenet.co.uk
Wed Dec 22 12:33:51 CET 2004


>     A little while ago, someone posted a message about an error and
> something about modifying the windows registry key
HKEY_CURRENT_USER\Control
> Panel\Desktop so that the value Wallpaper was changed periodically.
I wonder
> if anyone could tell me how to do that? I tried something, and it
didn't
> work, and the documentation on _winreg is not very helpful to me.
Any help
> is appreciated. : )

I find it easiest to manipulate the Registry via WSH.
THe Registry object can be instantiated from Python via
the winall extensions. I find it much more intuitive
than the native API route, YMMV.

Search MSDN for the WSH object model documents

Alan G.



More information about the Tutor mailing list