Guest WhiteCloud Posted May 25, 2004 Share Posted May 25, 2004 (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 May 25, 2004 by WhiteCloud Link to comment Share on other sites More sharing options...
scriptkitty Posted May 25, 2004 Share Posted May 25, 2004 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. Link to comment Share on other sites More sharing options...
Guest WhiteCloud Posted May 25, 2004 Share Posted May 25, 2004 thanks for the leadthis is the program: http://www.esker.com/host_access_solutions/smarterm.aspit's not a dos prompt but i'm not sure how to explain what it isi'm not sure about the specifics of the server software other than it's called Apexi'll keep digging Link to comment Share on other sites More sharing options...
Guest WhiteCloud Posted May 25, 2004 Share Posted May 25, 2004 (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 May 25, 2004 by WhiteCloud Link to comment Share on other sites More sharing options...
Guest WhiteCloud Posted May 25, 2004 Share Posted May 25, 2004 wow you even downloaded it 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 More sharing options...
pekster Posted May 26, 2004 Share Posted May 26, 2004 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 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