No internet connection
  1. Home
  2. Support

Stop all running macros.

By Mike Wax @mikewax
    2020-08-25 06:23:14.126Z

    I'm trying to make a command that is triggered by a key stroke that will stop all running macros. I would like a notification alert to show up afterwards that confirms my macros hae all stopped running. I have a macro that repeats for X amount of times, but i would like ability to cancel out it in case something goes wrong or i need to stop a 100x looper.

    I tried using sf.soundflow.stopAll(); but that didn't work.

    I'm not sure savy in JavaSciript, so any help is appreciated.

    • 3 replies
    1. Hi Mike,

      To do that, add your own trigger (if you're not using SoundFlow default triggers) to the special "Stop All Running Commands" command in the SoundFlow System folder.

      1. Mike Wax @mikewax
          2020-08-25 15:14:17.651Z

          Cool. So would i just use sf.soundflow.stopAll(); in there? Right now it's set to sf.DUMMY.stopAll();.

          1. No you can't use stop all commands in a custom script. You need to add your trigger directly to the command.