2 Replies Latest reply on Dec 30, 2014 1:01 AM by wimclaessen

    Press button menu, play especific sound

    HelderSantos_1

      Title

      Press button menu, play especific sound

      Post

           Hello...

           Is there anyway or plugin that i can use to play a sound(mp3, wav, mid), everytime a press button?

           If i press button exit, it plays a recorded voice: "exit button"

           can it be done in Filemaker?

        • 1. Re: Press button menu, play especific sound
          JulioRicardodaSilva

               i want to know too

          • 2. Re: Press button menu, play especific sound
            wimclaessen

            Maybe I can help.

            What i've seen is that the discription Apple gives of the goto field script simply is not correct. It simply does not work and it should be classified as a bug.

            I found a workaround however, a bit messy, but it does the job just fine.

            Use the following script steps on a container field and make sure the container that holds the soundfile is (hidden somewhere) on the actual Layout and is set to automatically play.

            Create the container, name it "Click" (Both Field name and Object name) and use the following script to play the sound it contains

            Script steps:

            Set Error Capture (On)
            Perform Find (don't search for anything, don't add search options)
            Refresh Object ("Click")
            Goto Object (Click)

            That's it, you should hear the sound each time you run these script steps.

            Don't ask me why this works, it just does.