Skip to main content

All Questions

Tagged with
2 votes
2 answers
90 views

Input Simulation (Win + A) In PowerShell

I have a Python Script to enable/ disable Airplane mode using input simulation which works fine: Win + A : To Open Action Center Right Arrow (twice) : Navigate to Airplane toggle Space : To Press OK ...
Oprex Droid's user avatar
0 votes
1 answer
77 views

sendkeys doesn't work inside github API (command line)

I'm trying to automate the creating of remote repos using powershell and gh repo create and the first thing that happens after running that command is an option to create a new repo on GitHub or push ...
user642832's user avatar
-1 votes
1 answer
346 views

How do I put quotation marks into quotation mark (vbs, sendkeys) [duplicate]

I need to type " into notepad with VBS script. I have this code: Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run "notepad" wscript.sleep 500 WshShell....
Andrew's user avatar
  • 33
1 vote
0 answers
100 views

Wscript.Shell.Sendkeys swallows letters randomly when used together with AppActivate

Okay this is weird behaviour, I'll try to describe it well: I've written a very short C# program which sends the names of all *.png files on my Desktop to notepad. First I start notepad.exe, check the ...
Robert's user avatar
  • 442
0 votes
1 answer
450 views

PyWin32: detect "ready" before using SendKeys again?

I'm using the following code to send keystrokes to an application: import win32com.client import time process_id = 2032 # I change this value if needed shell = win32com.client.Dispatch("WScript.Shell"...
Robert's user avatar
  • 442