ThaSatelliteGuy Posted January 10, 2007 Share Posted January 10, 2007 I need to be able to get cursor position from an ANCIENT web terminal program. It gives it on the screen in the corner, so I COULD use a jimmy-rigged approach, but I would rather have a GET/SET type of command. I attached a scrnshot. Any help would be MOST appreciated since I am desperately trying to rid myself and my company of using this POS as much as we seem to have to!!! Link to comment Share on other sites More sharing options...
PaulIA Posted January 10, 2007 Share Posted January 10, 2007 I need to be able to get cursor position from an ANCIENT web terminal program. It gives it on the screen in the corner, so I COULD use a jimmy-rigged approach, but I would rather have a GET/SET type of command. I attached a scrnshot. Any help would be MOST appreciated since I am desperately trying to rid myself and my company of using this POS as much as we seem to have to!!!What does the AutoIt Info Window tell you about this control? Can you post the results so we can see what type of control it is? Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
ThaSatelliteGuy Posted January 10, 2007 Author Share Posted January 10, 2007 What does the AutoIt Info Window tell you about this control? Can you post the results so we can see what type of control it is?This is what it looks like with my mouse over top HOME button>>>>>>>>>>>> Window Details <<<<<<<<<<<<<Title: DIRECTV Terminal SessionClass: java.awt.FrameSize: X: 59 Y: 62 W: 888 H: 611>>>>>>>>>>> Mouse Details <<<<<<<<<<<Screen: X: 746 Y: 661Cursor ID: 5>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<RGB: Hex: 0x000000 Dec: 0>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<Size: X: 616 Y: 537 W: 88 H: 18Control ID: 38ClassNameNN: Button38Text: HomeStyle: 0x5400000BExStyle: 0x00000000>>>>>>>>>>> Status Bar Text <<<<<<<<<<<>>>>>>>>>>> Visible Window Text <<<<<<<<<<<Oh, and I just realized clicking the HOME button puts the cursor at upper left homeAnd next is what it looks like with my mouse out in the center:>>>>>>>>>>>> Window Details <<<<<<<<<<<<<Title: DIRECTV Terminal SessionClass: java.awt.FrameSize: X: 59 Y: 62 W: 888 H: 611>>>>>>>>>>> Mouse Details <<<<<<<<<<<Screen: X: 706 Y: 136Cursor ID: 2>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<RGB: Hex: 0x7D9BE3 Dec: 8231907>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<Size: X: 0 Y: 0 W: 881 H: 483Control ID: ClassNameNN: SunAwtCanvas2Text: Style: 0x56000000ExStyle: 0x00000000>>>>>>>>>>> Status Bar Text <<<<<<<<<<<>>>>>>>>>>> Visible Window Text <<<<<<<<<<< Link to comment Share on other sites More sharing options...
PaulIA Posted January 10, 2007 Share Posted January 10, 2007 Java applet. Bummer... Maybe the IE folks can offer up some help for you. Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
herewasplato Posted January 10, 2007 Share Posted January 10, 2007 (edited) Does the script in the help file under WinGetCaretPos do anything for you? If not, you should be able to use PixelCheckSum to hunt for the cursor or to make a poor man's OCR on the info in the lower right. Edited January 10, 2007 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
strate Posted January 10, 2007 Share Posted January 10, 2007 You may wanna try reading memory for it. INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now