Custom Macro Interpreter App.

In my working place I’ve to do some repetitive tasks in a Windows 3270 terminal emulator (a text-only application that looks similar to a telnet session in a DOS window).

I need a light and fast macro interpreter that reads and executes automation scripts done by me like this:

– readscreen
– if screen !=
///////////////////
///////////////////
/ FOOBAR[0-9]+ ///
///////////////////
///////////////////
then
{
continue_or_exit_messagebox
}
– sendkeys:type this text[enter][tab][arrowright][F3]
– label foobarcycle
– readscreen
– if screen !=
//////TITLE2///////
///////////////////
/ [^0-9]*123 ///
///////////////////
///////////////////
then
{
continue_or_exit_messagebox
}
– if screen !=
//////END//////////
///////////////////
/ [^0-9]*123 ///
///////////////////
///////////////////
then
{
goto foobarcycle
}
– sendkeys:[F3]

The set of supported instructions must that shown in my example, thus:
– readscreen (read the text in the screen and put it in the variable “screen”)
– if/then/else
– label/goto
– sendkeys
– continue_or_exit_messagebox (must show a message box that asks if to continue the execution of the macro or to exit)

The text under the instruction “if screen” must be evaluated as multiline regular expression, not as simple text.

The macro editor must show and select, after I press “run” and in real time, the line that is executing.

I need the compiled program, all the sources and the ownership.

Escrow offered.

Leave a Reply

Your email address will not be published. Required fields are marked *