I was wondering if there is a way to make JavaScript execute keyboard combinations.
I am making an application in Electron and I can't get my custom Minimize and Maximize buttons to work on Windows. I tried running the application on Mac and it works perfectly. So I was thinking about just making a button that can execute keyboard commands.