Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: LeftClick+Shift+Enter Reassign

  • To: mathgroup at smc.vnet.net
  • Subject: [mg64516] Re: [mg64506] LeftClick+Shift+Enter Reassign
  • From: James Gilmore <james.gilmore at yale.edu>
  • Date: Mon, 20 Feb 2006 06:29:54 -0500 (EST)
  • References: <NDBBJGNHKLMPLILOIPPOCEANEOAA.djmp@earthlink.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi David,

Quite true, on windows, I would lose the context-menu right click function
on the right button. I do not find the context-menu all that useful, so
not having it on a right button isnt such a great loss. I assign the right
click elsewhere on my multibutton mouse, so I do not lose the context menu
altogether.

The Enter button on my laptop can only be accessed by pressing the function
key, which is a fair distance from the Fn key. The solution that works for
you may not work for laptop users. However, your method, would work in
Linux, where I do not know how to customise mouse buttons?

My personal preference is to use the mouse to navigate in Mathematica,
since precision is required to place the pointer at the appropriate spot
in the code (especially when I debug), and I can also scope with left
click. Having another core Mathematica command on my mouse makes makes
sessions more productive.

Cheers
James

Quoting David Park <djmp at earthlink.net>:

> James,
>
> 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 earthlink.net
> http://home.earthlink.net/~djmp/
>
>
> From: James Gilmore [mailto:james.gilmore at yale.edu]
To: mathgroup at smc.vnet.net
>
>
> 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#6b4e2b0
> 7a25a42c2>
> 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#dea1583
> 8587ec74a>.
> 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/>
>
>



  • Prev by Date: Re: Step by Step Annotated Derivations
  • Next by Date: Code to translate to negative base...
  • Previous by thread: Re: LeftClick+Shift+Enter Reassign
  • Next by thread: Re: LeftClick+Shift+Enter Reassign