Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 8915

How to set a timer before a sound file starts playing in VBScript (MsgBox)? [closed]

$
0
0

Is it possible to set a timer before starting to play an audio file in VBScript? I need the sound signal to be played not immediately, but after a certain time. But the rest of the script started immediately.

Here's my script:

Set Sound = CreateObject("WMPlayer.OCX")Sound.URL = "\to\path"Sound.Controls.playMsgBox "msg", vbOKOnly + vbInformation + 262144, "title"

Viewing all articles
Browse latest Browse all 8915

Trending Articles