Create note attached to cursor MACRO?

I'm trying to write a macro that creates a note, but I don't want to define a position. I want the note to be attached to the cursor for the user to place it where they want (just like if they were inserting a note manually).

The effect shown in the following image GIF

SolidworksApi/macros