1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-15 09:01:12 +01:00

Add AutomationCommands class

- AutomationCommands replaces GetAllMenuCommands, and can provide
information about menus, buttons and toolbars to a script.
- BatchCommands can now return textual results to a script.
- There's a new GUID for mod-script-pipe and it is included in the .sln.
This commit is contained in:
James Crook
2017-12-20 21:19:23 +00:00
parent d22430c789
commit 27d2b7c51b
19 changed files with 485 additions and 148 deletions

View File

@@ -61,6 +61,8 @@ class BatchCommands final {
wxString GetCommand(int index);
wxString GetParams(int index);
int GetCount();
wxString GetMessage(){ return mMessage;};
void AddToMessage(const wxString & msgIn ){ mMessage += msgIn;};
void SetWavToMp3Chain();
@@ -74,6 +76,7 @@ class BatchCommands final {
wxArrayString mCommandChain;
wxArrayString mParamsChain;
bool mAbort;
wxString mMessage;
Exporter mExporter;
wxString mFileName;