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