Triming a already open clip

Would it be possible to write script that could turn this feature off maybe for Wavelab 8 ?