How to get an operator finish event?

Hello there,
I would like to trigger a custom operator when the user move an object to an other collection.

First solution I see :

  • Be able to track the “object.move_to_collection” operator

Second solution (ugly workaround) :
Read the console log wich displays “my object moved to destination collection”.

Also, it would be great to be able to catch if the user closes the menu “bpy.ops.object.move_to_collection”

Thank you very much for any help

1 Like

Same issue here, did you find any solution? I tried to get the return value of the operator to check if state its “Finished” but in my case it is a model operator and it always returns “running model” . I also tried using the macro solution but that is not working at all in newer blender versions.