Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Mouse focus in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg90143] Re: Mouse focus in Mathematica
  • From: David Reiss <dbreiss at gmail.com>
  • Date: Mon, 30 Jun 2008 04:55:03 -0400 (EDT)
  • References: <g47l18$t59$1@smc.vnet.net>

On Jun 29, 5:35 am, Bob F <deepyog... at gmail.com> wrote:
> Is there a way to put Mathematica 6.0 in a mode where focus follows
> the mouse cursor location without clicking in the window on Mac OS X
> 10.4.11? Thanks...
>
> -Bob



here, at least, is a start for how to do something like this (though I
do not know of a global setting that does it).

This will make it so that the notebook object nb comes  into focus
when the mouse is above it:


SetOptions[nb
 NotebookEventActions -> {"MouseMoved" :> (SetSelectedNotebook[
      EvaluationNotebook[]])}]


I hope this helps...

-_Davd


  • Prev by Date: Re: How to stop execution within a cell?
  • Next by Date: Re: Subscript Bug?
  • Previous by thread: Re: Mouse focus in Mathematica
  • Next by thread: How to find out which line the error refers to?