Would it be possible to define hot-keys for changing wave colors?


Can someone please let me know if it’s possible to define hot-keys for changing wave colors so we can change wave color quicly and easily?

For some reasons I need to change wave colors very often so hot-key would be very helpful.

Thanks & regards,

Yes it’s possible.
You would need to set one keyboard shortcut for each color option that you require.
For each shortcut you would need to create a macro (See: https://manual.audacityteam.org/man/manage_macros.html)

Example for one macro:


Then create a shortcut to run the macro (See: https://manual.audacityteam.org/man/keyboard_preferences.html)

Thank you for the information. A couple of follow-ups if you don’t mind.

(1) Help in “To change or add a shortcut binding” section does not discuss how to add new shortcut. It only discusses how to change existing bindings (see screenshot below).
Based on your information, I assume I need to add a new shortcut binding to link the hot key I select and the micro (e.g. the example of macro you mentioned)

(2) Suppose there is a way to add new bindings, how can I link the new hot key I select to the micro? “Preferences: Keyboard” menu shows all bindings link hot keys with menu entries (e.g. hot key “Ctrl+N” links to “File Menu ->New”), but not link with micros. Please see screenshot below.
Thanks & regards,


  1. Select “Name”
  2. Type the name of the macro (in this example, the macro is called “test”)
  3. Click on the command (in this case I have a macro called “test” and another called “test2”. I have clicked on “Apply macro - test”)
  4. Press the key(s) that you want to bind. (In this case I have used "Shift + ")
  5. Click the “Set” button
  6. Click the “OK” button to close Preferences when done.

Thank you for the details. Much appreciate!

Now I can set micros and link them to hot keys to change wave colors. They work as expected, and stay intact after I ugrade Audacity from 3.0.4 to 3.1.1.

Here is what I did in case other folks need it.

(1) Go to “Tools” → “Micros…” to creat new micors “Wave Color 0”…“Wave Color 3”.
(2) Go to “Edit” → “Preferences…” → “Keyboard” to link the new micors with the hot keys I prefer
Thanks & regards,