Rename "RunPythonScript" in Undo

Is there a way to set the “RunPythonScript” to a custom string so scripts can be distinguished from each other in the Undo Multiple window?

Undo Multiple

Thank you,
Steve

Hi @spb,

How are you running the RunPythonScript command? From a button?

– Dale

Hi Dale,

I typically use an alias with _-RunPythonScript scriptName in the command macro, but I don’t see a difference when a button’s command contains code.

Hi @spb,

Currently, undo records only record the name the command that was executed. I’ve put in a request for a more friendly version.

https://mcneel.myjetbrains.com/youtrack/issue/RH-43186

– Dale

1 Like