message "get name" for the live.object

    Jun 13 2013 | 7:45 am
    In Ableton Live, I need to get the name from midi clips. For that, I use the next program (copy compressed). It work fine but the Max window say to me :
    live.object get: no valid object set
    It is about the message "get name" for the last live.object
    What is the good message ?
    Best regards