Action script. registry copy

(imported topic written by netmeister91)

I’m doing a lot of registy copying and trying to shorten the looooong registy paths…and have come up with this…

In saving the wallpaper setting under “HKEY_USERS.DEFAULT\Control Panel\Desktop” I have to escape it because someitmes it has file path name

The following code works

parameter “SRP”=“HKEY_LOCAL_MACHINE\SOFTWARE\IBM\SavedRegParms”

parameter “DESKTOP”=“HKEY_USERS.DEFAULT\Control Panel\Desktop”

parameter “WALLPAPER”="{value “Wallpaper” of key (parameter “DESKTOP”) of registry}"

regset “” “Wallpaper”="{escape of (parameter “WALLPAPER”)}"

The above is a work around what I’d like to do for my regset is something like this

regset “” “Wallpaper”="{escape of value “Wallpaper” of key (parameter “DESKTOP”) of registry}

I’m using the action script debugger and the error is “Relevance clauses must be surrounded by {and} guards”

I’ve tried numerous combinations of quotes and parens. The solution eludes me…

(imported comment written by netmeister91)

Correction: some of my code got changed when I pasted it into the window

parameter “WINLOGON”=“HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon”

parameter “IBM”=“HKEY_LOCAL_MACHINE\SOFTWARE\IBM1”

parameter “SRP”=“HKEY_LOCAL_MACHINE\SOFTWARE\IBM1\SavedRegParms”

parameter “DESKTOP”=“HKEY_USERS.DEFAULT\Control Panel\Desktop”

parameter “WALLPAPER”="{value “Wallpaper” of key (parameter “DESKTOP”) of registry}"

regset “” “Wallpaper”="{escape of (parameter “WALLPAPER”)}"

The above works fine… When I try to use

regset “” “Wallpaper”="{escape of (value “Wallpaper” of key (parameter “DESKTOP”) of registry)}"

or some variation that is when I get the error

(imported comment written by netmeister91)

Another correction… some of my code is getting changed when it is being displayed and interpreted as html so I’m attaching a file.