But with this code, I cannot get all the shortcut that I want to deactivate. This is due to the fact that some shortcut has property like name, like this example:
.
So, what is need to be added in the code to deactivate this kind of shortcut?
For your question, No, my goal is having a script that simply toggle between what is existing and my own shortcut. I think if I delete the shortcut, I will have to add code to add the deleted shortcut back, wouldn’t I?. Is there a way to store deleted shortcut, like in the link above?