sketchucation logo sketchucation
    • Login
    šŸ¤‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Stopping UI.play_sound ?

    Scheduled Pinned Locked Moved Developers' Forum
    4 Posts 3 Posters 532 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      morisdov
      last edited by

      Any way to stop UI.play_sound ?

      i tried UI.beep and UI.play_sound "new one" - without success

      1 Reply Last reply Reply Quote 0
      • T Offline
        todd burch
        last edited by

        Good question. I've never tried. What about setting it to nil?

        1 Reply Last reply Reply Quote 0
        • A Offline
          azuby
          last edited by

          Have you tried putting the command into its own thread and kill the thread when "the event" occurs?

          azuby

          *error initus :: Blocks | CurrentDate | d/Code | extensionmanager | FFlipper | HideEdges | MeasuredArea | ModelHistory | PluginsHelp | PronButton | SAWSO | SCP | SU²CATT

          Bad English? PM me, correct me. :smile:**

          1 Reply Last reply Reply Quote 0
          • M Offline
            morisdov
            last edited by

            setting to nil or killing its thread will not stop it.

            only solution i managed is a new "UI.play_sound" command on new existing and valid wav file, a short one.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement