I'm trying to create a simple script to send some keystrokes to a TN3270 terminal session (Hummingbird HostExplorer). If I send normal characters, the vbscript works fine, but when I use a command like SendKeys "{ENTER}" nothing happens. From what I've read, the TN3270 window uses command for enter. I thought maybe I could use the HLLAPI.DLL to interface with the TN3270 window, but I have no idea where to start, and I don't know if I can use a DLL call in vbscript.

Has anyone else tried automation with TN3270 sessions?