Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. Dim currRowPos as Integer
  2. Dim currColPos as Integer
  3. Session.MoveCursor targetRowPos, targetColPos ' move cursor position
  4. DoEvents ' custom logic to wait or inlcude delay 1 sec or more, mentioned only single code statement here
  5. currRowPos = Session.CursorRow 'get cursor current row position
  6. currColPos = Session.CursorColumn 'get cursor current column position
  7. 'check current cursor position and write data onto HOST screen
  8. If targetRowPos = currRowPos And targetColPos = currColPos Then
  9. Session.TransmitANSI "xyz" 'write xyz on HOST screen
  10. End If
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement