Sign in to follow this  
Followers 0
Guest WhiteCloud

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

6 posts in this topic

#1 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites



is this a command line window? or a windowed application?

If it is in a dos box, you can copy out that info and parse it from memory.


AutoIt3, the MACGYVER Pocket Knife for computers.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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.

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