How can I stop a song from playing before any sound is played?
Code: Select all
Call Script.RegisterEvent(SDB,"OnPlay","EventOnPlay")
Sub EventOnPlay()
SDB.Player.Stop() ' By the time this is called it has already played a second or so
End Sub
Moderators: Gurus, Addon Administrators
Code: Select all
Call Script.RegisterEvent(SDB,"OnPlay","EventOnPlay")
Sub EventOnPlay()
SDB.Player.Stop() ' By the time this is called it has already played a second or so
End Sub
The script should be conditional.trixmoto wrote:Couldn't you just mute MM? You can do this by setting the SDB.Player.Volume to 0.
Whoa, I didn't remember that settingEyal wrote:Tools | Options | Player > Choose player = *.exe