MathGroup Archive 2008

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

Search the Archive

Re: Tooltip ans Sound - 2nd posting

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93366] Re: Tooltip ans Sound - 2nd posting
  • From: magma <maderri2 at gmail.com>
  • Date: Wed, 5 Nov 2008 04:53:25 -0500 (EST)
  • References: <gepb36$si1$1@smc.vnet.net>

On Nov 4, 12:19 pm, axel <axel.kil... at hs-merseburg.de> wrote:
> Hello,
>
> I have found that Tooltip[obj1, obj2] evaluates obj2 upon a mouseover
> event on obj1. The objects can either be Text or Graphics, all
> combinations work. Here is my question: can I use a Sound as obj2? I
> want to hear a specific sound when my mouse enters the notebook area
> occupied by obj1.
>
> Thank you
>
> Axel
>
> PS: using Tooltip[obj1, Play[...]] works but is not useful because one
> cannot reach the play-button. Also, I want to hear the sound upon the
> mouseover event, without the need of further action.

I do not think you can do it with Tooltip, but you can do it with
Button, as follows:

Button["Click Here", EmitSound[Sound[SoundNote[]]],
 AutoAction -> True, Appearance -> None]

As you see, it does not work too well, because it sounds whenever
there is a mouseover event and this happens quite often.
I do not think you can obtain an effective sound interface with
mouseover events.
Better use the mouse click (take away the AutoAction option above).

hth


  • Prev by Date: Re: Mathematica Help Urgent (Very New Beginner)
  • Next by Date: Re: Eliminating common factors?
  • Previous by thread: Re: Tooltip ans Sound - 2nd posting
  • Next by thread: Re: Tooltip ans Sound - 2nd posting