2 Commads on 1 Button

is it possible to put 2 commands on one button, so that they are executed one after the other with one click on the button ?
For example

  1. format code
    2 Compile

As far as I know, the answer to this is "no".

I think the best workaround would be to set up a shortcut for Format, then hit that shortcut before F9.

1 Like