Do idle processes add command with python code?

Hello,

I want to add IncrementalSave command to idle processing, but I cant find any code with python.

Can it be implemented in code mode?

Thank you