|
How to Play beep sound in VBScript?Question: I need a VBScript that causes the system to beep through the onboard speaker when the user clicks on a line of text. I am using this for an intranet wep site that doesn't allow applets or any program language other than VBScript, Javascript, HTML.The Beep code is very simple - echo character 7 to a console. You can do it using WScript.echo, it works with cscript command line:
See alsofor 'Play Beep from VBScript (ASP, command line)' article Copyright and use this code
The source code on this page and other samples at https://www.motobit.com/tips/
are a free code, you can use it as you want: copy it, modify it, use it in your products, ...
If you use this code, please:
1. Leave the author note in the source.
or
2. Link this sample from you page.
<A Href="https://www.motobit.com/tips/detpg_beep-script/" Title="Short VBScript functions to play sound from wscript command line or ASP and other script applications" >Play Beep from VBScript (ASP, command line)</A> Do you like it? Rate me on LinkedIn |
© 1996 - 2019 Antonin Foller, Motobit Software | About, Contacts