ghh@clarity.princeton.edu (Gilbert Harman) (05/03/89)
Is there a macro key package that could be used to put emacs commands into Word (4)? E.g. <escape>-f would go forward one word, ^x^c would quit, etc. In other words, what's needed is the ability to assign a macro not just to a single (possibly modified with the command, option, and/or shift keys) but to a sequence, like ^x^c. Can this sort of thing be done in NISUS? -- Gilbert Harman Princeton University Cognitive Science Laboratory 221 Nassau Street, Princeton, NJ 08542 ghh@princeton.edu HARMAN@PUCC.BITNET
cs004004@brunix (Jon Feinberg) (05/04/89)
In article <GHH.89May2195941@clarity.princeton.edu> ghh@clarity.princeton.edu (Gilbert Harman) writes: >Is there a macro key package that could be used to put emacs >commands into Word (4)? E.g. <escape>-f would go forward >one word, ^x^c would quit, etc. In other words, what's >needed is the ability to assign a macro not just to a single >(possibly modified with the command, option, and/or shift >keys) but to a sequence, like ^x^c. I think QuicKeys will allow you to do just that, through a combination of aliases and sequences. (Keep in mind that Word has its own lovely set of keyboard macros, like command-right arrow for forward one word, but if you're addicted to E-macs...) I use the mouse less and less nowadays, thanks to Quickeys. It's wunnerful. [Just a satisfied customer, as they say.] >Can this sort of thing be done in NISUS? Don't know... >-- > Gilbert Harman > Princeton University Cognitive Science Laboratory > 221 Nassau Street, Princeton, NJ 08542 > > ghh@princeton.edu > HARMAN@PUCC.BITNET No .sig, but Jonathan Feinberg cs004004@pebbles.cs.brown.edu
ghh@thought.princeton.edu (Gilbert Harman) (05/04/89)
In article <5557@brunix.UUCP> cs004004@brunix (Jon Feinberg) writes: > In article <GHH.89May2195941@clarity.princeton.edu> > ghh@clarity.princeton.edu (Gilbert Harman) writes: > >Is there a macro key package that could be used to put emacs > >commands into Word (4)? E.g. <escape>-f would go forward > >one word, ^x^c would quit, etc. In other words, what's > >needed is the ability to assign a macro not just to a single > >(possibly modified with the command, option, and/or shift > >keys) but to a sequence, like ^x^c. > I think QuicKeys will allow you to do just that, through a combination > of aliases and sequences. (Keep in mind that Word has its own > lovely set of keyboard macros, like command-right arrow for forward > one word, but if you're addicted to E-macs...) > I use the mouse less and less nowadays, thanks to > Quickeys. It's wunnerful. > [Just a satisfied customer, as they say.] > >Can this sort of thing be done in NISUS? > Don't know... I don't see how to use Quickeys to get a SEQUENCE of (possibly modified) keystrokes to stand for a command, e.g. <escape> followed by f to stand for the command "move forward one word." Is there a way to use Quickeys or some other system to bind a key like <escape> to a complex conditional command: "Press a key, if it is "f" then go forward a word, if it is "b" then go back a word, ..."? -- Gilbert Harman Princeton University Cognitive Science Laboratory 221 Nassau Street, Princeton, NJ 08542 ghh@princeton.edu HARMAN@PUCC.BITNET
cs132087@brunix (Jeff Baum) (05/08/89)
In article <GHH.89May4105117@thought.princeton.edu> ghh@thought.princeton.edu (Gilbert Harman) writes: >I don't see how to use Quickeys to get a SEQUENCE of >(possibly modified) keystrokes to stand for a command, e.g. ><escape> followed by f to stand for the command "move >forward one word." Is there a way to use Quickeys or some >other system to bind a key like <escape> to a complex >conditional command: "Press a key, if it is "f" then go >forward a word, if it is "b" then go back a word, ..."? You have practically answered your own question. In QuicKeys, there is a number of things you can define, one of which is a SEQUENCE. Therefore, first define the escape key (as anything, or even leave undefined), and then use a sequence to first choose the escape, and then to choose some keystroke. A sequence of keystrokes can be defined thorought the "define text" part of QuickKeys. The control key can be simulated by the ^, i.e. control-d would be "^d" (without quotes...) I'm not sure if you can define ESC through this part, but if you can, then you wouldn't even need to define the ESC keystroke. Jeff Baum cs132087@cs.brown.edu