DOS Screen - Need To Check Values Of Fields

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
jayman
Newbie
Posts: 1
Joined: Fri Nov 02, 2007 9:14 pm

DOS Screen - Need To Check Values Of Fields

Post by jayman » Fri Nov 02, 2007 9:29 pm

Hi,

You remember the old DOS screens. Columns and rows that you can navigate reliably through by using the arrow keys, and by pressing tab you will move only to locations in that column / row array where you can enter data (you click anywhere out of that zone and the screen freezes and you have to press a designated escape key etc)

Well I want to automate the adding of data to such screens.

The manual process is that you add data to the fields and press enter.

However if the update is not succesful because of an error:

1. The cursor will not move auatomatically to a location in the screen column / row array that is does if it is succesful, and

2. An error message is displayed always in the same area of the screen

I figure I need to determine what line / row the cursor is at, check if that is normal, and if not read the error message.

How can I determine what line / row location the cursor is at?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts