third_party_content:community:commentary:forums_nonworks:3b36368b8593e010852565e6006c5734

Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

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 blah
 Catalyst("@","MyCaptureSet")
 Read RowJustWritten
 Code Blah blah blah

and 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

Sprezzatura Ltd

World Leaders in all things RevSoft

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/3b36368b8593e010852565e6006c5734.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1