By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,712 Members | 2,116 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,712 IT Pros & Developers. It's quick & easy.

How to generate a system beep

P: n/a
Anz
Is there any JavaScript function to generate a Beep sound from
system ?,
is it possible to make system Beep using JavaScript function ?
Jul 29 '08 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Anz wrote on 29 jul 2008 in comp.lang.javascript:
Is there any JavaScript function to generate a Beep sound from
system ?,
is it possible to make system Beep using JavaScript function ?
If you mean using plain Javascript clientside in a browser without
compromizing security:

No, no.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 29 '08 #2

P: n/a
Anz wrote:
Is there any JavaScript function to generate a Beep sound from
system ?,
No.
is it possible to make system Beep using JavaScript function ?
Maybe.
PointedEars
--
Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee
Jul 29 '08 #3

P: n/a
On Jul 29, 9:36 am, Thomas 'PointedEars' Lahn <PointedE...@web.de>
wrote:
Anz wrote:
Is there any JavaScript function to generate a Beep sound from
system ?,

No.
is it possible to make system Beep using JavaScript function ?

Maybe.
What a unnecessarily cryptic response that is just cluttering news
readers. Are you looking to increase you post count?

---

I believe what Thomas is struggling to imply is that if the user agent
(e.g. a browser) provides an API that could produce a beep or allow
some other technique like including Flash movie, for example, than a
beep could be initiated by a JavaScript function which calls that API.
The JavaScript language itself does not have such a function.

Peter
Jul 29 '08 #4

P: n/a
Peter Michaux wrote on 29 jul 2008 in comp.lang.javascript:
On Jul 29, 9:36 am, Thomas 'PointedEars' Lahn <PointedE...@web.de>
wrote:
>Anz wrote:
Is there any JavaScript function to generate a Beep sound from
system ?,

No.
is it possible to make system Beep using JavaScript function ?

Maybe.

What a unnecessarily cryptic response that is just cluttering news
readers. Are you looking to increase you post count?
Thomas is not cryptic at all.

The idea that the questions "Is there any?" and "Is it possible?"
should(!) be answered bij anything else as
'Yes', 'No', 'Maybe' or 'Dunno'
is preposterous.

This is usenet and not a helpdesk.

Even so the second answer should also be a firm "no" if plain clientside
javascript in one of the more common browsers with default security
settings is ment.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 29 '08 #5

P: n/a
On Jul 30, 12:00*am, "Evertjan." <exjxw.hannivo...@interxnl.net>
wrote:
>
Even so the second answer should also be a firm "no" if plain clientside
javascript in one of the more common browsers with default security
settings is ment.
javascript:document.write("\x07"); //Grrr, damn it !

:-)

--Jorge.
Jul 29 '08 #6

P: n/a
Jorge wrote on 30 jul 2008 in comp.lang.javascript:
On Jul 30, 12:00*am, "Evertjan." <exjxw.hannivo...@interxnl.net>
wrote:
>>
Even so the second answer should also be a firm "no" if plain clientside
javascript in one of the more common browsers with default security
settings is ment.

javascript:document.write("\x07"); //Grrr, damn it !

:-)
Like in?:

<a href='javascript:document.write("\x07");'>Grrr, damn it !</a>

or

<script type='text/javascript'>
document.write("\x07");
</script>

IE testing:

Does not sound[,] right[.?]

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 30 '08 #7

This discussion thread is closed

Replies have been disabled for this discussion.