mnscript
SoundEmitterDevice Device.FindSoundEmitter(string) Description ​
Finds a connected Sound Emitter Device
Arguments ​
string - The device name to search for
Returns ​
SoundEmitterDevice - The found device
Example ​
msc
using Device;
// Finds a sound emitter device with the name "My Sound Emitter" and plays the sound on it.
SoundEmitterDevice emitter = Device.FindSoundEmitter("My Sound Emitter");
emitter.PlaySound();