Assign shortkey to change Pivot Point? [Solved]

Hi all,

In 2.79 I’ve made a shortkey to change the objet Pivot Point to CURSOR (something very usefull for me), but I can’t do it on 2.80, the Context Attibutes : space_data.pivot_point seems to be no longer present.

Is there a way to make something similar with a shortkey ?

This is the new way to call it


Ho, thank you very very much ! (you almost safe my life :smile: )