MathGroup Archive 2006

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

Search the Archive

Re: LeftClick+Shift+Enter Reassign

  • To: mathgroup at
  • Subject: [mg64512] Re: [mg64506] LeftClick+Shift+Enter Reassign
  • From: "David Park" <djmp at>
  • Date: Mon, 20 Feb 2006 06:29:50 -0500 (EST)
  • Sender: owner-wri-mathgroup at


On Windows at least, right click brings up a context-menu and if you
reassign right-click I would think you would lose that.

One feature that many users are unaware of is that instead of using
Shift-Enter to evaluate cells, you can use just the Enter on the numerical
keyboard. I use a trackball instead of a mouse, and by placing it right next
to the numeric keyboard I can quickly leftclick in a cell and hit the Enter
button with my thumb. Not quite as convenient as what you want, but still
much better than a mouse and Shift-Enter.

David Park
djmp at

From: James Gilmore [mailto:james.gilmore at]
To: mathgroup at

Hello Mathgroup,

I would like to have an efficient way to assign my mouse right click to
perform the following keystroke: "Left click, shift+enter". I want this so
I can merely move my mouse cursor over the cell i want to evaluate in my
Mathematica session, and then just press right click on my mouse, i.e. I do
not want to have to first left click to get the cursor in the cell. I also
do not want to modify the Shift+Enter=EvaluateCells[] on the keyboard,
since this is a standard adopted by the good people at WRI and should be
kept as such.

I have searched the on redefining the EvaluateCells command in Mathematica
in Mathgroup. There have been two relevant posts that I can find. The first
is where you modify the keyboard assignments:
This is the type of modification I want, but I want to reassign the right
mouse button. Does anyone know where that file is located?

The second relevant post is on a palette button to perform Shift+Enter
I mention this post, since if we can find a way to use a mouse key to
execute a cell, our Mathematica presentations will run much smoother.

I have this implemented outside of Mathematica, using a compiled script and
customizable mouse buttons, so the script runs when I right click with my
mouse. But it is slow to use a .exe script, to perform "left click,
shift+enter". However, the script has made my Mathematica sessions so much
more enjoyable that I am searching for a faster and more stable method that
is implemented inside of Mathematica. It really does make Mathematica alot
easier to use!

Any help appreciated.


James Gilmore
Graduate Student
Department of Physics
Sloane Physics Laboratory
Yale University
217 Prospect Street
Email: james.gilmore at
URL: <>

  • Prev by Date: Re: SetOptions with Column
  • Next by Date: Re: Step by Step Annotated Derivations
  • Previous by thread: LeftClick+Shift+Enter Reassign
  • Next by thread: Re: LeftClick+Shift+Enter Reassign