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.

[VBS] popup in else Zweig

Empfohlene Antworten

ich erhalte in meinem Script die Fehlermeldung, dass ich keine Klammern nutzen darf im unterzweig meiner Routine.

Wie kann ich das umgehen. Ich möchte gern in meinem else-Block ein Ppopup ausgeben.

Poste doch mal den Code, vielleicht kann ich dir dann dabei helfen.

Kann mir nämlich nicht genau vorstellen, was du meinst!


if

.

.

.

.

.

else

     HA.popup("TEST",4,"TEST",7)

end if



HA.popup[B][COLOR="Red"]([/COLOR][/B]"TEST",4,"TEST",7[COLOR="red"][B])[/B][/COLOR]

das ist auch syntaktisch und semantisch falsch.

Set objWshShell = CreateObject("Wscript.Shell")

objWshShell.popup "TEST",4,"TEST",128

verwende keine klammern, dann funktioniert das auch.

der letzte parameter ist ausserdem ungültig, verwende einen anderen index, um das entsprechende popup zu erstellen.

s'Amstel

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.