Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Now I need to read what's on a window
Message
 
 
To
16/06/2004 09:56:38
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00914232
Message ID:
00914251
Views:
11
Peter,

I don't think you can do that with WSH. Most likely you'll have to emulate mainframe terminal in VFP or something like that.

>
>Customers can be demanding. First it's writing stuff to a mainframe window.
>
>Now they'd like me to read from one.
>
>I've looked at WSH ReadLine and ReadAll, but can't for the life of me figure out how to implement it.
>
>"The ReadAll method returns a string. The StdIn, StdOut, and StdErr properties and methods work when running the script with the CScript.exe host executable file only."
>
>Anyway, oShell = CREATEOBJECT(...) does not expose the StdIn and StdOut properties, so is this at all possible?
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform