Windows 10: assigning different actions on the Surface pencil eraser button with just one click

I'm using the Surface pencil eraser button to open applications or run .bat to copy and paste and many more actions, according to my daily needs. The problem is that I have to go every time in the configuration of the pen and change the clicks one by one each time and that takes time. Does anyone have any idea how to create different profiles (I guess using .bat files) to assign different actions at once to the delete button every time I click on the profile I need to use?
Windows 10 surface pencil configurations