Stem Exporting mega macro

Discussions about Macros for DTouch for Cubase and DTouch for Nuendo
pablo1980
Posts: 95
Joined: 24 Feb 2016 02:08

Stem Exporting mega macro

Post by pablo1980 » 21 Jul 2020 23:29

Hi, I want to automate Stems exporting, I can append a ´*´to the name of several tracks (Low Strings for example, which are on lots of folders by library) so I would like to make the following macro:

- Select the tracks with *
- Solo them
- Open the export dialog
- Add a text string at the end of the file name ( - Low Strings , for example)
- Export (this gets tricky because cubase doesn´t have a way to push the export button, I could keep the export dialog in the same place and use mouse movement).
- Wait for it to finish (this is what I don´t know how to do)
- Disengage al solo

Repeat with another group of tracks

Do you think it´s possible? we could do it with a without fx, and answer some mails while exporting!

pablo1980
Posts: 95
Joined: 24 Feb 2016 02:08

Re: Stem Exporting mega macro

Post by pablo1980 » 21 Jul 2020 23:56

I just find out that I can use colors to select the diferent groups of tracks, so I don´t have to tinker with the names.

I tested the macro and got to the part to the wait til finish, any help there?

DT_bettinzana
Posts: 772
Joined: 21 Feb 2016 12:05

Re: Stem Exporting mega macro

Post by DT_bettinzana » 23 Jul 2020 13:59

Hello!
We have some ideas, but we must understand what you exactly do. Please, can you attach here the macro file?
Silvano Bettinzana
Devil Technologies

pablo1980
Posts: 95
Joined: 24 Feb 2016 02:08

Re: Stem Exporting mega macro

Post by pablo1980 » 23 Jul 2020 15:57

Hi Silvano, here is the macro, probably you can make it more streamlined.

So, when it starts exporting there is a dialog that says continue / abort, I don´t know what to do there, the idea is for the macro to:

-select by color
-solo the tracks
-open the export dialog
-add text to the file
-press the export button
wait til it´s done

-deactivate all solos
-select by other color
-solo the tracks
-(this gets tricky, if the export dialog is still open I need to click in the file name dialog to be able to add the text)
press the export button
wait til it´s done

ad infinitum
what do you think? I think is doable, don´t know how to handle the waiting (the export dialog screen and the progress bar screen both has the same name)
Export Lo Strings.dat
(4.35 KiB) Downloaded 426 times

pablo1980
Posts: 95
Joined: 24 Feb 2016 02:08

Re: Stem Exporting mega macro

Post by pablo1980 » 23 Jul 2020 17:02

I have found the "perform the audio export" keycommand so, no mouse movement to press the export button.

here is the updated macro. It works till making the first export

Export Lo Strings.dat
(4.13 KiB) Downloaded 438 times

DT_bettinzana
Posts: 772
Joined: 21 Feb 2016 12:05

Re: Stem Exporting mega macro

Post by DT_bettinzana » 23 Jul 2020 18:59

pablo1980 wrote:
23 Jul 2020 17:02
I have found the "perform the audio export" keycommand so, no mouse movement to press the export button.

here is the updated macro. It works till making the first export


Export Lo Strings.dat
Great!
Tomorrow wil will update about the last actions of the macro.
Silvano Bettinzana
Devil Technologies

Support Team
Posts: 120
Joined: 17 Feb 2016 14:23

Re: Stem Exporting mega macro

Post by Support Team » 24 Jul 2020 13:47

We improved your Macro by waiting for the export progressbar window, and also lowered many Sleep times which seemed too conservative. Please consider increasing them again if the Macro doesn't work for you anymore.
Here you are:
DT - Export Lo Strings.dat
(4.47 KiB) Downloaded 425 times
About your "Repeat ad infinitum", we think that you should:
  • Copy this Macro, creating a new one for another Stem
  • Edit the new Macro to recall the right Project Logical Editor for the new Stem
  • Edit the save file name for the new Stem
  • Save this as a new Macro
Then, repeat the above steps for any of your Stems that need to be exported.

Finally, you create a new big "Export All" Macro, which simply contains many "Execute Macro" Macro Commands, one for each Stem.
So you'll have a single big Macro which recalls the "Export Lo Strings", "Export Hi Strings", .... Macros
You may even add some Sleep between one recalled Macro and the other, if needed.

pablo1980
Posts: 95
Joined: 24 Feb 2016 02:08

Re: Stem Exporting mega macro

Post by pablo1980 » 24 Jul 2020 14:44

Great! I will test it today!

I will read your instructions about making the small and big macros, it is a very good idea because this modular aproach lets me taylor the big macro for different sets of projects!

I am amazed continously about dtouch possibilities and your eagerness to help us in no time!

pablo1980
Posts: 95
Joined: 24 Feb 2016 02:08

Re: Stem Exporting mega macro

Post by pablo1980 » 24 Jul 2020 15:26

I have tested and it works til the first macro, I think we should close the "export audio mixdown" dialog to later access the name box. I can do that with mouse movement or is there a better way?

pablo1980
Posts: 95
Joined: 24 Feb 2016 02:08

Re: Stem Exporting mega macro

Post by pablo1980 » 24 Jul 2020 15:32

Another thing that would be great would be that in the large macro, a dialog box would appear before starting with some reminders, such as:

are all the relevant folders opened?
are the group fx dissabled?
etc

if I press continue the macro goes ahead.

I don´t think that is possible but it would be great!"

Post Reply