[Windows Mobile Apps and Games] nikagl:
Hi Schaps,

I've started looking into porting some of the KaiserTweak xml tweaks into the AdvancedConfig xml. One thing I can do with KaiserTweak is set multiple registry keys from one tweak. For instance:

It is possible to set the keypad buttons of the dialer to "vibrate". For that you need to set the Sound for each button ("HKCU\ControlPanel\Sounds\dtmf?\Sound") to "*vibrate*". When changing it back to the default it needs to be the number of the actual button...

The xml-code for KaiserTweak explains this a little better (I'm sure you'll understand as soon as you see it):

<tweak>
<title>Dialer Button behaviour</title>
<value default="default" disabled="disabled" advised="advised" value="0">Tones</value>
<value value="*vibrate*">Vibrate</value>
<key type="string">HKCU\ControlPanel\Sounds\dtmf0\Sound</key>
<key mode="set" setvalue="0" when="disabled">HKCU\ControlPanel\Sounds\dtmf0\Sound</key>
<key mode="set" setvalue="1" when="disabled">HKCU\ControlPanel\Sounds\dtmf1\Sound</key>
<key mode="set" setvalue="2" when="disabled">HKCU\ControlPanel\Sounds\dtmf2\Sound</key>
<key mode="set" setvalue="3" when="disabled">HKCU\ControlPanel\Sounds\dtmf3\Sound</key>
<key mode="set" setvalue="4" when="disabled">HKCU\ControlPanel\Sounds\dtmf4\Sound</key>
<key mode="set" setvalue="5" when="disabled">HKCU\ControlPanel\Sounds\dtmf5\Sound</key>
<key mode="set" setvalue="6" when="disabled">HKCU\ControlPanel\Sounds\dtmf6\Sound</key>
<key mode="set" setvalue="7" when="disabled">HKCU\ControlPanel\Sounds\dtmf7\Sound</key>
<key mode="set" setvalue="8" when="disabled">HKCU\ControlPanel\Sounds\dtmf8\Sound</key>
<key mode="set" setvalue="9" when="disabled">HKCU\ControlPanel\Sounds\dtmf9\Sound</key>
<key mode="set" setvalue="10" when="disabled">HKCU\ControlPanel\Sounds\dtmf*\Sound</key>
<key mode="set" setvalue="11" when="disabled">HKCU\ControlPanel\Sounds\dtmf#\Sound</key>
<key type="string" mode="set" setvalue="*vibrate*" when="enabled">HKCU\ControlPanel\Sounds\dtmf0\Sound</key>
<key type="string" mode="set" setvalue="*vibrate*" when="enabled">HKCU\ControlPanel\Sounds\dtmf1\Sound</key>
<key type="string" mode="set" setvalue="*vibrate*" when="enabled">HKCU\ControlPanel\Sounds\dtmf2\Sound</key>
<key type="string" mode="set" setvalue="*vibrate*" when="enabled">HKCU\ControlPanel\Sounds\dtmf3\Sound</key>
<key type="string" mode="set" setvalue="*vibrate*" when="enabled">HKCU\ControlPanel\Sounds\dtmf4\Sound</key>
<key type="string" mode="set" setvalue="*vibrate*" when="enabled">HKCU\ControlPanel\Sounds\dtmf5\Sound</key>
<key type="string" mode="set" setvalue="*vibrate*" when="enabled">HKCU\ControlPanel\Sounds\dtmf6\Sound</key>
<key type="string" mode="set" setvalue="*vibrate*" when="enabled">HKCU\ControlPanel\Sounds\dtmf7\Sound</key>
<key type="string" mode="set" setvalue="*vibrate*" when="enabled">HKCU\ControlPanel\Sounds\dtmf8\Sound</key>
<key type="string" mode="set" setvalue="*vibrate*" when="enabled">HKCU\ControlPanel\Sounds\dtmf9\Sound</key>
<key type="string" mode="set" setvalue="*vibrate*" when="enabled">HKCU\ControlPanel\Sounds\dtmf*\Sound</key>
<key type="string" mode="set" setvalue="*vibrate*" when="enabled">HKCU\ControlPanel\Sounds\dtmf#\Sound</key>
<description>Set the phonepad to vibrate or use tones.</description>
</tweak>

Can this be done with AdvancedConfig, and if not, can you change AdvancedConfig to support this? That way we can use the nicer interface (I'm being real honest here :D) of AdvancedConfig :)

Regards,

Nika.