# Create a Macro with a infinite loop

**URL:** <https://forum.audacityteam.org/t/create-a-macro-with-a-infinite-loop/56424>\
**Category:** Macros and Scripting\
**Created:** [April 15, 2020, 6:42pm UTC](https://forum.audacityteam.org/t/create-a-macro-with-a-infinite-loop/56424 "2020-04-15T18:42:52Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![rafadess](https://forum.audacityteam.org/letter_avatar_proxy/v4/letter/r/ee59a6/32.png) [@rafadess](https://forum.audacityteam.org/u/rafadess)\
**Post date:** [April 15, 2020, 6:42pm UTC](https://forum.audacityteam.org/t/create-a-macro-with-a-infinite-loop/56424/1 "2020-04-15T18:42:52Z")

</div>

Hello all,

First of all, thank you all developers and contributors of Audacity. It is been very helpfull for many people that needs to do recordings and editings.

My question is: It is possible to create a Macro or Nyquist plugin that keep runing in the background?  
Aplication: I would like to create a kind of backup system that would export a wav file of the project each certain amount of time. It was simple to script .wav exportation (AUD-DO “ExportWav”), but I would like to have it running automatically from time to time. It would be fine if the user needs to trigger to start “backuping”.

Thanks for any help.  
Rafa

---

_[View the full topic](https://forum.audacityteam.org/t/create-a-macro-with-a-infinite-loop/56424)._
