terminal - Open Then Control File Python -
i want write scrip control terminal emulator (details @ website http://www.mochasoft.dk/tn5250.htm). far can open , close program not able interact it. need sendkeystrokes , select data emulator. wrote syntax expect below.
import os os.startfile("somepath\\tn5250.exe") set curscreen = sess0.screen curscreen.waitforcursor 1, 1 curscreen.sendkeys ("<enter>") curscreen.moveto 36, 33 x = sess0.screen.select(1, 36, 1, 33) print (x)
let me know if need more information.
Comments
Post a Comment