Skip to main content

All Questions

Tagged with
-1 votes
1 answer
263 views

Pywin32: win32api.SendMessage to a DOS box program not possible?

Is it possible to use win32api.SendMessage to send characters to a program which seems to be running in some sort of DOS box? In my Windows Task Manager I see a process called ntvdm.exe (apparently ...
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