Audacity 2.3.0 Macro comment/requests

Feedback and Reviews for Audacity 2.x
Forum rules
This board is ONLY for general feedback and discussion about Audacity 2.X.

If you require help, or think you have found a "bug", please post on the forum board relevant to your operating system.
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
NTO
Posts: 12
Joined: Wed Oct 17, 2018 5:48 pm
Operating System: Windows 7

Audacity 2.3.0 Macro comment/requests

Post by NTO » Wed Oct 17, 2018 6:00 pm

I am very pleased to see the expansion pf Audacity macro capabilities, but :lol:
I would like to see an addition: access to the menu command 'Export multiple'

I am currently trying to work around this missing command by driving the UI from an external keyboard macro app, and have this problem:
When I get through the dialog that is the macro I wish to execute, the dialog does not close after I apply to project (e.g. Alt O,M,P). There is an OK button there, but it's not accessible by hot/keystroke.

IMO, dialog should close for process completion, but multiple executions was thinking(i suppose). Keystroke the OK to get out would likely work for me then...

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity 2.3.0 Macro comment/requests

Post by steve » Wed Oct 17, 2018 6:55 pm

NTO wrote:
Wed Oct 17, 2018 6:00 pm
I would like to see an addition: access to the menu command 'Export multiple'
Perhaps the other way round:

"Export Multiple" could become a "special case" interface for a "macro".
The only reason that we can't currently implement "Export Multiple" as a macro script is that we don't currently have access to "Export Selection".

The benefit of implementing "Export Multiple" as a macro script is that it would then be relatively easy for users to create customised versions of "Export Multiple" (for example, exporting every other labelled selection, or export multiple based on audio clips.)

Another benefit would be that "macro scripts" may themselves be used as macro commands (with some limitations).
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

NTO
Posts: 12
Joined: Wed Oct 17, 2018 5:48 pm
Operating System: Windows 7

Re: Audacity 2.3.0 Macro comment/requests

Post by NTO » Wed Oct 17, 2018 7:31 pm

steve wrote:
Wed Oct 17, 2018 6:55 pm
The only reason that we can't currently implement "Export Multiple" as a macro script is that we don't currently have access to "Export Selection".
Not sure what you are saying here.
Export multiple is an existing menu tree: File > Export > Export Multiple.
The parameters are there for its existing functionality.

steve
Site Admin
Posts: 81627
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Audacity 2.3.0 Macro comment/requests

Post by steve » Thu Oct 18, 2018 8:44 am

"Export Multiple" is currently a sequence of actions that is hard coded (in C++) in Audacity.
What I'm suggesting is that rather than extending the "Export Multiple" command so that it can be used as a macro command, it could be removed and replaced with a macro.

Macros may be called in macros:
If you create a macro called "Do Stuff" that runs a sequence of commands, then you could write another macro called "Do more stuff" and have "Do Stuff" as one of the steps. When "Do more stuff" runs and it gets down to the "Do Stuff" macro, the commands in "Do Stuff" will be executed as defined by "Do Stuff".

So if "Export Multiple" was a macro, rather than a hard coded C++ command, you would be able to use "Export Multiple" in a macro.
If "Export Multiple" was a macro, you would also be able to create custom versions of Export Multiple as macros.

So in short, what I'm suggesting is a way that your feature request could be implemented that is more versatile than just adding access to the existing menu command 'Export multiple'.

Does that make sense?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply