Sign in to follow this  
Followers 0

PCOM automation

1 post in this topic


New to AutoIt trying to automate PCOM but having trouble seeing the text.

In case you don't know PCOM can emulate telnet, 3270 and other terminal types.

This works:

WinWaitActive("Session A - [24 x 80]")

but I am getting no joy from:

WinWait("Session A - [24 x 80]", "ENTER Application Name or MENU (PF3):")

didn't help:

AutoItSetOption ( "WinSearchChildren", 1 )

I have looked at the stdin and stdout stuff but it does not seem to apply.

Au3Info.exe says


Press CTRL-ALT-F to freeze the display.

>>>>>>>>>>>> Window Details <<<<<<<<<<<<<

Title: Session A - [32 x 80]

Class: PCSWS:Main:00400000

Size: X: 392 Y: 169 W: 888 H: 698

>>>>>>>>>>> Mouse Details <<<<<<<<<<<

Screen: X: 753 Y: 614

Cursor ID: 2

>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<

RGB: Hex: 0x000000 Dec: 0

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<

Size: X: 0 Y: 28 W: 880 H: 576

Control ID: 2

ClassNameNN: PCSWS:Pres:004000001


Style: 0x50000000

ExStyle: 0x00000000

>>>>>>>>>>> Status Bar Text <<<<<<<<<<<


(2): Connected to remote server/host <stuff deleted>

(3): Canon Bubble-Jet BJC-2000SP on LPT1:

>>>>>>>>>>> Visible Window Text <<<<<<<<<<<

>>>>>>>>>>> Hidden Window Text <<<<<<<<<<<


So since it can't see the window text I guess I am sunk.

Has anybody had a go at PCOM? worked/not worked?



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0