Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PC Speaker ansteuern

Empfohlene Antworten

Moin,

ich möchte bei bestimmten events einen sound abspielen, allerdings über den system lautsprecher!

folgende ressource bietet eine DLL und einen source code für VBS/ASP

http://www.askasp.com/articles.asp?ArtID=55

Allerdings wenn ich das Skript aufrufe, wird dieser ton, ja wohl auf dem Server ausgeführt, allerdings will ich das beim Client ausführen, deshalb müsste ich es in JavScript/JAVA umschreiben, ich habe nur keinen plan wie das geht, der VBS Sourcecode lautet:

Dim objBeep

Set objBeep = CreateObject("TONEC1.LongBeep")

objBeep.BeepSound 1000,3000

Set objBeep = Nothing

Kann ich das in Java(Script) umschreiben, dass der Sound dann beim Benutzer abgespielt wird?

Danke

Moin, Moin!

soweit ich weiß geht das mit JavaScript nicht!

Aber wenn der Client ein W2K oder XP PC ist so könntest du die Text-Speech Component nehmen:

<object classid="clsid:58601A10-71C9-4DB4-924A-E394DEBAD76F" id="TRSpeaker1"

width="16" height="16"> </object>

CU

microdommi

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.