PlaySound Element

Defines an action to play a sound.

Syntax

<PlaySound
    Sound="object"
/>

Attributes

Sound

Specifies the sound to play.

Remarks

To ensure that rules match conditions for PlayAnimation and PlaySound actions, only put these actions within a Condition that uses ConditionOp="ChangedTo".

Requirements

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also