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 und das aktive Fenster

Empfohlene Antworten

Hi Folks!

Habe ein nettes VBScript geschrieben dass sich über Telnet einwählt und ein paar Befehle absetzt. Allerdings schreibt das Script die Befehle ins aktive Fenster, wenn ich also ein anderes Fenster aufhabe, klappt das ganze nicht.

Gibts einen befehl wie ich dem script sagen kann dass er die Telnetkonsole nutzen soll statt das aktive Fenster?

Weiss denn keiner eine Antwort?

Probier es dochmal mit cmd Telnet oder so ....

schau mal in der konsolenhilfe cmd /?

  • Autor

So eine Konsole wird ja geöffnet.

dim wshShell

set wshShell=CreateObject("Wscript.Shell")

wshShell.run("telnet IP.IP.IP.IP")

wshShell.SendKeys "befehl"

.

.

.

Allerdings schreibt er die Befehle (siehe "befehl") ins aktive Fenster statt in die Konsole.

Ich bin mir auch nihct sicher ob die Methode so richtig ist, tut mir leid. Aber ich meine schon, daß es da etwas gibt womit man ein Fenster in den Vordergrund bringt um dann Sendkeys ins richtige Fenster zu schicken...

Auszug aus der Scripting-Hilfe zur AppActivate- Methode:

The AppActivate method returns a Boolean value that identifies whether the procedure call is successful. This method changes the focus to the named application or window, but it does not affect whether it is maximized or minimized. Focus moves from the activated application window when the user takes action to change the focus (or closes the window).

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.