I wasnt logged in. So I wrote this Question and i attached the Screencap
Depending how many windows you have open you will want to use the different scripts that will wait until the action happens before moving onto the next step. You could also just use a blank key command and add a ton of delay time to it.
For instance if you have the mix and edit window open and you want to wait for a plugin to close use "wait for window 3".
If you only have the edit window open "wait for window 2".
If you are trying to print stems use "wait for bounce window" and it will wait for the bounce to complete before moving on.
Jamey Z Slate Media Technology Jamey@stevenslateaudio.com