You will need to jump into the Maya API for this information.
Look at: https://download.autodesk.com/us/maya...clipboard.html
Another way is to write out a file which contains the length when you copy the keys. Use "getenv TMPDIR" to get the temp directory, and store it in there. When you paste, read the data in the file, and there you go.
Imagination is more important than knowledge.
Last edited by NextDesign; 13-02-2017 at 10:45 PM.