Trim surface control points

 From:  Tony77
6503.5 
Michael sorry but I did not understand, I insert the key into the box and the box command button what should I write?

Can you show me the steps please? how to derive the terms of the script?

For the edges I meant to click an edge and a command to select adjacent at same time

Thanks
Image Attachments:
Size: 92.8 KB, Downloaded: 56 times, Dimensions: 898x746px
Size: 72.3 KB, Downloaded: 8 times, Dimensions: 946x823px