Python Script

I’ve done something similar, so you could try this: Trimming shots - #3 by john-geehreng

But it might be easier scripting-wise to set in and out points and then do an overwrite.