getstring not working
getstring not working
(OP)
Hi Guys,
I have issue when I want to get to the last row on last page in attachmate extra. I can see that last character is on page 2, line 13. When i do MsgBox Sess0.screen.getstring(13,1,60) it will output correct characters.
But when I use 14th line :MsgBox Sess0.screen.getstring(14,1,60) I will get result which is actually on the previous page on that line.
Is there anything i can do to get only characters that are visible on current page?
PS: MsgBox is the only code that I have in macro
Thanks
I have issue when I want to get to the last row on last page in attachmate extra. I can see that last character is on page 2, line 13. When i do MsgBox Sess0.screen.getstring(13,1,60) it will output correct characters.
But when I use 14th line :MsgBox Sess0.screen.getstring(14,1,60) I will get result which is actually on the previous page on that line.
Is there anything i can do to get only characters that are visible on current page?
PS: MsgBox is the only code that I have in macro
Thanks
RE: getstring not working
All your emulator "sees" is what's on the screen. You are scraping characters off the data displayed in front of you.
Skip,
Just traded in my OLD subtlety...
for a NUance!
RE: getstring not working
MsgBox (Sess0.screen.getstring(15,1,15) will output something that is not there
on this screen you can see that what was shown by MSGBox is on previous screen
RE: getstring not working
Skip,
Just traded in my OLD subtlety...
for a NUance!
RE: getstring not working
CODE --> VBA
RE: getstring not working
CODE
Skip,
Just traded in my OLD subtlety...
for a NUance!