Pause Macro for User Input

Questions, discussion and recipes for scripting and batch processing in Audacity.
See also the "Scripting" section of the Audacity manual.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Post Reply
mafg1953
Posts: 199
Joined: Tue Nov 05, 2019 3:49 pm
Operating System: Windows 10

Pause Macro for User Input

Post by mafg1953 » Thu Nov 26, 2020 2:06 pm

Happy Thanksgiving!

I was wondering if it's possible to include a "Pause" option during Macro execution so that when you come to an effect that requires user input, like Noise Reduction, or Punch-Copy/Paste (and maybe more), the user can enter the required information and then resume the Macro?

Otherwise it may require two separate Macros to complete a process.

Not a big deal - just wondering.

Thanks,

Mike

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

Re: Pause Macro for User Input

Post by steve » Thu Nov 26, 2020 2:58 pm

Some Macro commands do pause for user input. For example there is a command "Open:" (which presents a standard dialog box where you can select either audio files, a list of files (.LOF) or an Audacity Project file to open). However, that defeats the point of Macros, which is to run a list of commands without additional user input. Most of the commands that require user input are excluded from the "Macros..." interface, but they are still available by manually editing the Macro ".txt" file. The full list of commands is here in the manual: https://manual.audacityteam.org/man/scr ... rence.html
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply