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

Popular posts from this blog

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

javascript - Confirm a form & display message if form is valid with JQuery -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -