I'm trying to set a wallpaper image using the Registry object, but first I want to save the location of the user's current wallpaper so it can be set back after the game is closed.
So I do...
Start of layout ->
Open Key (Root = HKEY_CURRENT_USER, Value = '\Control Panel\desktop')
Set global variable to Registry.ReadValue('Registry.OpenKey')
That syntax probably isn't exact but I'm sure you'll see what I mean when you try it. My problem so far is that whenever I try to put in that value for the key to open, I get a message saying that the private variable or registry key '\Control Panel\desktop' doesn't exist and it asks if I want to set it, which brings up window to create a private variable if you say yes.
I've tried it as
..pretty much every permeation I can think of those.
Do registry keys have a format extension I should be using?
Is the registry object broken (in the .84 build?)
Is there something wrong with how I'm typing the key?