About 23,700 results
Open links in new tab
  1. telnet - SendKeys Method in Powershell - Super User

    Sep 13, 2017 · The scripting Host's SendKeys method can be unreliable, but luckily there is a better approach. SendKeys via Interop Like in C#, you can use the SendWait method from the …

  2. How do I press a key for one second in powershell script?

    Jun 4, 2021 · Trying to simulate that can/will lead to odd results/behavior with SendKeys, without a lot of fine-tuning and involving potentially calls to user32.dll. It must be remembered, that …

  3. powershell - Why does a Power Shell script that is ... - Super User

    Apr 29, 2025 · I have a Power Shell script that opens an application and sends a few keystrokes. If I manually open Power Shell and run it; it operates as expected! However when I try to use it …

  4. Using SendKeys to move windows through a batch script

    Nov 27, 2018 · This script works fine, but I am having issues using SendKeys to move the windows to the monitors I want and maximizing them. I am currently using this method to …

  5. Using SendKeys from vbs in a total hidden way? - Super User

    Jun 3, 2018 · WshShell.SendKeys "admin{ENTER}" WScript.sleep 50 WshShell.SendKeys"sys info{ENTER}" WScript.Sleep 50 I want this totally hidden but the sendkeys just works on …

  6. Unexpected behavior in VBScript with SendKeys - Super User

    Oct 3, 2018 · WScript.Sleep 100 sw.SendKeys "x" WScript.Sleep 100 sw.SendKeys "i" WScript.Sleep 100 sw.SendKeys "t" WScript.Sleep 100 sw.SendKeys "{Enter}" wScript.quit …

  7. Emulate a keyboard button via the Command Line - Super User

    Oct 27, 2015 · My keyboard doesn't have a Num Lock key, and none of the registry edits work for some reason. Can I use the Command Prompt or PowerShell on Windows 10 to "press" a …

  8. vbscript sendkeys on windows10 fails on one PC - Super User

    Nov 15, 2023 · I'm trying to use a vbscript with sendkeys but the keys are not recognized. I'm using a sample from Microsoft and it works on my laptop but not on my desktop. On the …

  9. windows - Press ENTER in a program via .bat file - Super User

    Apr 2, 2021 · Some further reading vbs / cmd / bat: Hybrid VBS/Bat Files WSF - Windows Script File SendKeys Method in VBScript Execute Hybrid Bat/Scripts Some further reading ps1 Get …

  10. Send keyboard input while session is disconnected - Super User

    Jul 15, 2022 · I have a task that I want to automate that basically requires running a GUI application, and sending it keypress input. I have a powershell that works for that purpose …