![]() |
Unable To Activate TSR Program With WP Macros |
The information in this document applies to:
WordPerfect® 5.1 for DOS
Problem
Symptoms: The customer has a TSR program called Backlink made by ActWare. Backlink enables other computers to access files from each other. He activates this TSR by pressing the hotkey combination Ctrl-Insert. Hotkeying to this program works fine in WordPerfect but when he puts the Ctrl-Insert keystroke combination into a macro, the program is not executed. For another customer, ^C would not pass as a hotkey when used in a keyboard macro unless it was the only character or command in the macro. Solutions: There is no command in the current WP 5.1 macro language which will pass on the needed keystrokes into the macro. TSRs (Terminate and Stay Resident Programs) that are activated by interrupt driven hotkeys cannot be activated by WP macros or WP keyboard macros. When a key is pressed, a value that is sent to the hardware port and the keyboard interrupt (interrupt 9) is activated. Normally the interrupt causes the value in the hardware port to be moved to the keyboard buffer. When a TSR is loaded it hooks the keyboard interrupt so when interrupt 9 is activated, the TSR takes over and does whatever it is programmed to do. WordPerfect macros pass all commands directly to the keyboard buffer. The keyboard interrupt is not activated at any time. Since the TSR is monitoring the keyboard interrupt, it is not aware of information WP inserts in the keyboard buffer. Therefore, WP macros won't execute TSRs that rely upon the keyboard interrupt. |
Answer:
Details:
Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER. |