Keyboard Shortcuts

Is there any possibility to set the project-rate with keyboard-commands? I have to edit many wav files and in the end I need 16000 Hz (telephone answering machine). It would be grea, if I could do that either in batch-mode or in a makro.
Also I am looking for a possiibility to use the envelope tool in batch mode. I would like to set the tool to maximum level in all the file, so I don’t use it in small parts to set something special…
It would be so nice, if I could find some help here (that would save much time, I don’t like the mouse - click, click…)
Thank you for answering.

You can set the Project Rate with the Macro command “Set Project”.

That’s tricky because Envelopes are primarily designed for mouse use, but it is possible to set envelope points. see: https://alphamanual.audacityteam.org/man/Extra_Menu:_Scriptables_I#set_envelope