MathGroup Archive 2011

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

Search the Archive

Re: How to define FrontEndEventActions for keyboard combinations with Shift and Alt?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg118661] Re: How to define FrontEndEventActions for keyboard combinations with Shift and Alt?
  • From: Alexey <lehin.p at gmail.com>
  • Date: Fri, 6 May 2011 07:23:40 -0400 (EDT)

I just have received from Scott Kruger of the Wolfram Technical
Support an answer that keyboard combinations with Ctrl, Shift and Alt
are not supported for the FrontEndEventActions:

"The only way to edit general keybindings is to manually edit the .tr
files through trial and error."

"we do not support modifying the Mathematica installation by editing
the .tr files. This is something that you would have to figure out own
your own by trial and error."

I have a little experience in adding to these files keyboard
combinations related to FrontEnd tokens. But how to add a code which
will be evaluated in the kernel before execution of the corresponding
FrontEnd command? Specifically, I wish to evaluate some little code in
the kernel when a user press Alt+"." and *before* aborting evaluation.
Can anyone help me?

Alexey


  • Prev by Date: Re: how to apply Position repeatedly without a loop?
  • Next by Date: Strange behavior with comment
  • Previous by thread: Re: Converting a list to arguments for a function --- How?
  • Next by thread: Re: How to define FrontEndEventActions for keyboard combinations with Shift and Alt?