MathGroup Archive 2008

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

Search the Archive

Re: Mouse focus in Mathematica


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