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

MathGroup Archive 2010

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

Search the Archive

Trigger actions when variables change

  • To: mathgroup at smc.vnet.net
  • Subject: [mg114643] Trigger actions when variables change
  • From: Rui <rui.rojo at gmail.com>
  • Date: Sat, 11 Dec 2010 01:55:04 -0500 (EST)

I want Mathematica to emit a sound, e.g EmitSound[Sound[SoundNote[]]],
every time ControllerState["B1"] becomes True, for example.
It got me thinking that I don't even know how to make Mathematica do
anything when certain variable changes in a certain way (apart maybe
from redefining Set). Isn't there an event or something with Dynamic
I'm overseeing?

Thanks


  • Prev by Date: Workbench 2.0 and Remote Kernel
  • Next by Date: Numbering a chapter starting in number n?
  • Previous by thread: Re: Workbench 2.0 and Remote Kernel
  • Next by thread: Numbering a chapter starting in number n?