...back

KEYBOARD MACRO

Macrostring consists of not separated chars, which will emulated for target window. Not typed keys (as "Enter") encodes using format (for example for "Enter" - <enter>). List of such codes see below. Also there are number of special words to control and manage emulation. If before emulation target control has a input focus, it traced during emulations, in other cases - not traced. When focus is traced, after every key emulation program check which windows has a focus and redirect next emulation to it. You can also set a focus directly, or target a window has a focus. Keyboard macrocodes is following (case-sensetive):

Code
Description
alphabetical and digit chars emulate corresponding char input
<< emulate input of char "<"
<enter> emulate "Enter" to line feed
<select> emulate "Enter" to select menu item
<esc> emulate "Esc"
<bs> emulate "BS"
<Tab> emulate "Tab" (ONLY to type text)
<up> emulate "Up arrow"
<down> emulate "Down arrow"
<left> emulate "Left arrow"
<right> emulate "Right arrow"
<insert> emulate "Insert"
<delete> emulate "Delete"
<pgdn> emulate "PageDown"
<pgup> emulate "PageUp"
<home> emulate "Home"
<end> emulate "End"
<Fx> emulate function key x ("F1", "F2",...)
<menu> emulate "Alt", to activate window menu
<TRACEOFF> focus trace off
<TRACEON> focus trace on
<GETFOCUS> set as target control has a focus
<SETFOCUS> set a focus to target control
<NEXT> go to next control in order (as "Tab" key)
<ONTOP> set window (control) to foreground

Limits: this operations is in the test mode. Now it does not works with DOS-sessions and needs to test in other case before using.

... back