If you want to automate things on your PC, AutoHotKey is one of the best ways to do it. It's a powerful tool that can simulate inputs on your PC, and the best thing about it is that it's free.
If they don't, there are third-party programs such as AutoHotKey, which is a free open-source software that you can use to set up your macros. AutoHotKey is a bit more involved than a macro key.