CATALYST (AREV Specific)
At 14 APR 1998 03:43:22PM Cheryl Kay Goldstein wrote:
I am trying to use captured keystrokes to open a window, enter some data, close the window, and then read the record just added. Logically, I have written my code to do this. AREV doesn't seem interested in the order of commands. It executes the entire program, ignoring the CATALYST command, then executes this line last. Is ther any way to alter this?
At 15 APR 1998 01:08PM abjones wrote:
CATALYST used to pass key strokes loads the "keyboard
buffer". Your program needs to come to a point where
the buffer is read. You may need some statement
such as "PERFORM TCL" to get your routine to the
keyboard reading mode that you want. If this seems
right, then you may need another escape character
in the buffer to terminate TCL and return back to your
program.
At 21 APR 1998 03:16PM Cheryl Kay Goldstein wrote:
Not a CLUE as to what you are describing…
At 21 APR 1998 03:50PM Andrew P McAuley wrote:
I believe that what you think you said is that you've written a program which does something like as follows
Code blah blah blahCatalyst("@","MyCaptureSet")Read RowJustWrittenCode Blah blah blahand that when the program finishes it executes your capture script?
If so, no this won't work. All that Catalyst @ does is loads a string of keystrokes into the keyboard buffer as though you'd typed them in yourself. If you type while your program is running you don't expect that to interfere, so neither will this.
What you'll have to do is insert the line
EXECUTE "WINDOW MYWINDOW"after the catakyst call. This will load up the window, then your catalyst keystrokes will feed in. So your catalyst shouldn't try to call the window as you'll already have done it.
Hopefully this is clearer than mud. If not post the code and we'll see what we can do.
amcauley@sprezzatura.com
World Leaders in all things RevSoft