I am new to KBM, so thanks for your patience. I am having a hard time figuring out the right Action to wait until a Scrivener compile is done in order to activate the next application, which is Sublime Text.
Update: I was able to find a solution. Pause Until Conditions Met, All of the Following are True, The front window of Scrivener exists. This means that after the compile window disappears the macro resumes. Great.