Keyboard macros: Difference between revisions

Content added Content deleted
mNo edit summary
Line 137: Line 137:


See [http://www.quirksmode.org/js/keys.html quirksmode] for more information about key detection in JavaScript.
See [http://www.quirksmode.org/js/keys.html quirksmode] for more information about key detection in JavaScript.

=={{header|Mathematica}}==
Map the keystroke t to a simple script
<lang Mathematica>SetOptions[EvaluationNotebook[], NotebookEventActions -> {{"KeyDown", "t"} :> Print["You pressed \"t\""]}]</lang>


=={{header|Oz}}==
=={{header|Oz}}==