Creating a key

This ought to be simple...

I just want a command to create a key on the timeline. I know thekeys are automatically created when I drag the component, but whatif I want a new key on the Move line to indicate the START of amove? I have tried moving the part away and then back, but thatmostly seems to be crashing SolidWorks. I have also triedcapturing, by recording a macro, the action of clicking the"Add/Update Key" button, but that yields nothing.

Thanks!SolidworksApi macros