Adobe Shockwave settings

(imported topic written by SystemAdmin)

So I’m trying to build an output file to change a bunch of Shockwave settings.

Let’s say that there’s 2 Shockwave registry keys that each contain multiple settings…

(

name of it , names of keys

whose

(

default value of it = “y”

)

of it

)

of keys

whose

(

name of it as string as lowercase starts with "shockwave "

)

of key “HKLM\SOFTWARE\Adobe” of registry

This outputs something like…

Shockwave 11, allowfallback

Shockwave 11, AutoUpdate

Shockwave 11, fpng

Shockwave 11, otb

Shockwave 12, allowfallback

Shockwave 12, AutoUpdate

Shockwave 12, collectstats

Shockwave 12, fpng

Shockwave 12, otb

Now this returns a (string, string)

Ideally, I want to combine these into a single string so I can put them in a .reg file.

Perhaps like…

Shockwave 11\allowfallback

Shockwave 11\AutoUpdate

Shockwave 11\fpng

Shockwave 11\otb

Shockwave 12\allowfallback

Shockwave 12\AutoUpdate

Shockwave 12\collectstats

Shockwave 12\fpng

Shockwave 12\otb

Problem is I’m dealing with a singular key against a plural list of keys.

Any suggestions?

-Paul

(imported comment written by SystemAdmin)

Paul,

Just add a bit to the beginning of your code, as I find it separates the formatting relevance (the bit I’ve added) to the formula part of the relevance. You could just juggle the relevance and add some parenthesis to it, but I think it actually adds clarity, even if it adds a bit to the length (and who really cares how long these relevance lines are, once they’re saved and just working).

Q: (item 0 of it &""& item 1 of it) of (name of it , names of keys whose(default value of it = “y”)of it)of keys whose(name of it as string as lowercase starts with “shockwave” )of key “HKLM\SOFTWARE\Adobe” of registry

-Jim

(imported comment written by SystemAdmin)

Thanks Jim, that’s what I needed. Now I can combine that with some additional relevance I have to disable Shockwave’s autoupdate and collecting of stats. While there’s a fixlet to disable the auto-update of flash and Adobe reader, this one was missing. I was just banging my head with “I know I’ve done this before”. Duh.

Thanks

-Paul