By Chad Wahlbrink @Chad2022-01-11 19:21:38.584Z
Can someone explain "Wait For No Modals"? For instance:
sf.ui.proTools.waitForNoModals()
I'm unsure what a "Modal" means in the javascript world (or Soundflow world).
Thanks so much 🏄♂️✨🏄♂️
- Chad Wahlbrink @Chad2022-01-11 20:20:19.453Z
After digging on some javascript sites, it seems as though a "modal" is just any dialog box/popup window on the screen.
So is this just a blanket way of waiting for all dialog boxes and pop-up windows to be cleared?
Raphael Sepulveda @raphaelsepulveda2022-01-11 21:07:59.543Z
Hey @chadwahlbrink !
Right. Examples of modals in Pro Tools would be the progress bar window that shows up when rendering an AudioSuite process or when bouncing.
These are the two most common uses ofwaitForNoModals()
you'll see around!