As to the application user's Macros........
If everyone of your users all needed the same single Macro, then all you would need to do is to either add an ON KEY LABEL ..... to the beginning of your screen which would allow the users to hit the appropriate FKey which would then execute your RESTORE MACRO command or you could add a button (or more) to the screen which, when the user's clicked on it, would do the same thing.
However, if each user might need to have their own separate set of Macros then you would need to take a different approach. By adding a new UsrMacro data table you could save each user's individual Macros for each instance that
they might be needed. In order to "capture" the user's Macros, you could approach it in a variety of manners.
One way would be to again use an ON KEY LABEL.... which would execute a small program to capture the user's keystroke input and save it away to the UsrMacro table. And then another ON KEY LABEL to restore from the UsrMacro table and execute the macros.
Another way would be to create a unique screen to capture the user's macros to the UsrMacro table. Again, within the screen, an ON KEY LABEL.... or a new button could Restore the macro(s) and execute them.
Good Luck,
jrbbldr
jrbbldr@yahoo.com