All Questions
Tagged with wscript.shell sendkeys
5
questions
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
...
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 ...
-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....
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 ...
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"...