Macro question

Is it possible to write a macro or PLE command in Cubase that will wait until one process is done until it sends the next command?

An example would be making a macro that can export a file, then continue on to another command when it knows the file export is finished.

No, afraid that’s not at all in the scope of the PLE and macro tools.