We're using 2022 R2 build 2819 with runtime set to 22.0.0.1892.
It appears that the Paste Object menu is disabled when working in a window script. It is working when in a visual userobject script. I confirmed it is working in 2021 build 1509. Has anyone else seen/reported this issue?
Oooooo ... that's an OO "No No"! :-(
You should always leave the code on the object => where the work is being done <=. Then in your example, just trigger the User Event or Function on the actual object to run the script where the Pronoun is located. Food for thought! ;-)
Regards ... Chris