mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 06:01:13 +02:00
Automation -> Scripting.
This commit is contained in:
committed by
Paul Licameli
parent
08b1db6145
commit
0ad533a740
@@ -144,7 +144,7 @@ wxDialog *AudacityCommand::CreateUI(wxWindow *parent, AudacityCommand * WXUNUSED
|
||||
|
||||
bool AudacityCommand::GetAutomationParameters(wxString & parms)
|
||||
{
|
||||
CommandAutomationParameters eap;
|
||||
CommandParameters eap;
|
||||
|
||||
if (mUIDialog && !TransferDataFromWindow())
|
||||
{
|
||||
@@ -163,7 +163,7 @@ bool AudacityCommand::SetAutomationParameters(const wxString & parms)
|
||||
{
|
||||
wxString preset = parms;
|
||||
|
||||
CommandAutomationParameters eap(parms);
|
||||
CommandParameters eap(parms);
|
||||
ShuttleSetAutomation S;
|
||||
|
||||
S.SetForWriting( &eap );
|
||||
|
@@ -32,7 +32,7 @@ public:
|
||||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Automation#drag");};
|
||||
wxString ManualPage() override {return wxT("Extra_Menu:_Scriptables#drag");};
|
||||
|
||||
bool Apply(const CommandContext & context) override;
|
||||
|
||||
|
@@ -433,7 +433,7 @@ void GetInfoCommand::ExploreMenu( const CommandContext &context, wxMenu * pMenu,
|
||||
context.AddItem( Label, "2" );
|
||||
context.AddItem( Accel, "3" );
|
||||
if( !Name.IsEmpty() )
|
||||
context.AddItem( Name, "id" );// It is called Automation ID outside Audacity.
|
||||
context.AddItem( Name, "id" );// It is called Scripting ID outside Audacity.
|
||||
context.EndStruct();
|
||||
|
||||
if (item->IsSubMenu()) {
|
||||
|
@@ -38,7 +38,7 @@ public:
|
||||
void PopulateOrExchange(ShuttleGui & S) override;
|
||||
|
||||
// AudacityCommand overrides
|
||||
wxString ManualPage() override {return wxT("Automation");};
|
||||
wxString ManualPage() override {return wxT("Scriptables");};
|
||||
bool Apply(const CommandContext &context) override;
|
||||
bool ApplyInner(const CommandContext &context);
|
||||
|
||||
|
Reference in New Issue
Block a user