Jump to content

I see text in a window but window spy doesn't


Guest WhiteCloud
 Share

Recommended Posts

Guest WhiteCloud

i'm using a terminal emulator and the coordinates of my insertion point are displayed on the status bar and on the main window... yet window spy doesn't see either instance of those coordinates. They're extremely important to my script. Where should I go from here? Thanks for any help you can offer.

Edited by WhiteCloud
Link to comment
Share on other sites

Guest WhiteCloud

it's either an ibm 3270 display session or an ibm 5250 display session

telnet

just in case that helps you narrow it down

Edited by WhiteCloud
Link to comment
Share on other sites

Guest WhiteCloud

wow you even downloaded it :D

i'm working with controlGet in AHK now... i won't know if it works til i get back to work to try it out though...

f3::
SetTitleMatchMode, 2
;SetTitleMatchMode, slow
WinGetTitle, title2, SmarTerm
ControlGet, pleasegodlines, LineCount, , AfxFrameOrView421, SmarTerm
ControlGet, pleasegodrow, CurrentLine, , AfxFrameOrView421, SmarTerm
ControlGet, pleasegodcolumn, CurrentCol, , AfxFrameOrView421, SmarTerm
msgbox %title2%`n%pleasegodlines%`n%pleasegodrow%`n%pleasegodcolumn%`n
return

these coordinates would help me out a huge amount in my job all day, every day. If I have to I may look into a pixel method.

Link to comment
Share on other sites

Why do software developers reinvent the wheel?

Decent trick if you wanted to prevent someone from automating your program. Or prehaps they found a more efficient way of doing it (example: leaving out features in their sources that they don't need), or required additional features in thier program(s).

[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...