Mathematica 9 is now available
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: [mg90136] Re: Mouse focus in Mathematica
  • From: m.r at inbox.ru
  • Date: Mon, 30 Jun 2008 04:53:42 -0400 (EDT)
  • References: <g47l18$t59$1@smc.vnet.net>

On Jun 29, 4: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

You can try rolling your own:

SetOptions[$FrontEndSession (*nonpersistent*),
 NotebookEventActions -> {"MouseMoved" :>
    If[SelectedNotebook[] =!= EvaluationNotebook[],
     SetSelectedNotebook[EvaluationNotebook[]]],
   PassEventsDown -> True}]

Maxim Rytin
m.r at inbox.ru


  • Prev by Date: How to plot discontinuous functions?
  • Next by Date: Re: How to find out which line the error refers to?
  • Previous by thread: Mouse focus in Mathematica
  • Next by thread: Re: Mouse focus in Mathematica