LeftClick+Shift+Enter Reassign
- To: mathgroup at smc.vnet.net
- Subject: [mg64506] LeftClick+Shift+Enter Reassign
- From: James Gilmore <james.gilmore at yale.edu>
- Date: Sun, 19 Feb 2006 05:36:22 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
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: <http://groups.google.com/group/comp.soft-sys.math.mathematica/browse_thread/thread/bc277bc409040d08/6b4e2b07a25a42c2?q=%22shift-enter%22&rnum=2#6b4e2b07a25a42c2> 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 <http://groups.google.com/group/comp.soft-sys.math.mathematica/browse_thread/thread/b03df29477a52ccd/dea15838587ec74a?q=%22shift-enter%22&rnum=1#dea15838587ec74a>. 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. Cheers James Gilmore Graduate Student Department of Physics Sloane Physics Laboratory Yale University 217 Prospect Street Email: james.gilmore at yale.edu URL: <http://pantheon.yale.edu/~jbg39/>