MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: Hotkeys - redefine

  • To: mathgroup at smc.vnet.net
  • Subject: [mg77534] Re: [mg77505] Re: Hotkeys - redefine
  • From: "Szabolcs Horvát" <szhorvat at gmail.com>
  • Date: Tue, 12 Jun 2007 01:22:48 -0400 (EDT)
  • References: <200706110820.EAA19946@smc.vnet.net>

On 11/06/07, John Fultz <jfultz at wolfram.com> wrote:
> On Mon, 11 Jun 2007 04:20:12 -0400 (EDT), Szabolcs wrote:
> > Find the line
> > EventTranslations[{
> >
> > and enter the following right after it:
> >
> > Item[KeyEvent["[", Modifiers -> {Control}],
> > FrontEndExecute[{FrontEnd`NotebookWrite[FrontEnd`SelectedNotebook[],
> > "\[LeftDoubleBracket]", After]}]],
> >
> > Item[KeyEvent["]", Modifiers -> {Control}],
> > FrontEndExecute[{FrontEnd`NotebookWrite[FrontEnd`SelectedNotebook[],
> > "\[RightDoubleBracket]", After]}]],
> >
> > Make sure that you do not create any other files with the extension .tr
> > in that directory, otherwise this may not work (I made this mistake when
> > I backed up the file).
> >
> > Szabolcs
>
> Excellent advice, except that the above examples should use
> FrontEnd`InputNotebook[] isntead of FrontEnd`SelectedNotebook[].
>
> Sincerely,
>
> John Fultz

Thanks for the correction!


  • Prev by Date: how put Manipulate-like automatic action control in a Panel?
  • Next by Date: RE: Re: 3D interpolation
  • Previous by thread: Re: Re: Hotkeys - redefine
  • Next by thread: Re: Hotkeys - redefine