1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-21 14:02:57 +02:00

Bug 1856 - Applying Macros to Files is no longer a batch process

This restores the 2.2.2 behaviour, with a subdirectory called 'cleaned'.  The problem was that 2.2.2 used special cases for MP3 Ogg and WAV exports, which were stripped out in favour of using the built-in Export command.  However, the differences in behaviour (prompting) between batch and non batch mode were not taken into account.
This commit is contained in:
James Crook
2018-08-04 19:16:32 +01:00
parent 9f7fa4e1f9
commit c94df54157
5 changed files with 40 additions and 8 deletions

View File

@@ -61,7 +61,7 @@ bool BatchEvalCommand::Apply(const CommandContext & context)
// Create a Batch that will have just one command in it...
MacroCommands Batch;
bool bResult = Batch.ApplyCommand(friendly, cmdName, cmdParams, &context);
bool bResult = Batch.ApplyCommandInBatchMode(friendly, cmdName, cmdParams, &context);
// Relay messages, if any.
wxString Message = Batch.GetMessage();
if( !Message.IsEmpty() )