Maybe this will help..
In your program.do a 
  address ispexec "vget (zscreeni zscreenc zscreenw zscreend)" 

zscreeni   is an image of the entire screen in text format.
zscreenc  is the cursor position in that image
zscreenw  is the screen width
zscreend  is the screen depth

Using the image and cursor pos, you can pick the information that the cursor 
points to and act accordingly.
This also works in an edit macro.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to