Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


dial nubers and play sound file

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,49209
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> dial nubers and play sound file
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 dial nubers and play sound file - 7/9/2007 7:05:57 AM   
  NewBee

 

Posts: 32
Score: 0
Joined: 2/10/2006
Status: offline
just wanted to know if any one has any vbscript that would do the following

using dial.exe toll it will dial a set of numbers 1234567890 play a sound file and hang up, than dial 2345678901 play the same sound file and hang up again.

thanks

i found this script that plays the sound but i need this to be played over the established telephone connection.

strSoundFile = "C:\Notify.wav"
Set objShell = CreateObject("Wscript.Shell")
strCommand = "sndrec32 /play /close " & chr(34) & strSoundFile & chr(34)
objShell.Run strCommand, 0, True
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> dial nubers and play sound file Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts