HyperCard: How to Send a Macro Keystroke Sequence



Is there a way to create a button in HyperCard to send a macro keystroke
sequence (such as AutoMac or QuicKeys)?

HyperCard's "type" command does not generate a keydown event, which is needed
for this sort of macro. It might be possible to write an XCMD. An easier way
is Dewi Williams' excellent "PostEvent" stack. Not only does it call Tempo II
and QuicKeys macros, it's invaluable for posting carriage returns to dialogs
(that is, the Print Report dialog) without user intervention. It's available
in the ordinary places: CI$, GEnie, MacNet, user groups, and so on.


Published Date: Feb 18, 2012