Scripting the Trim command -- programmatically select objects to keep or remove?

 From:  mike (MVERHULST)
11415.7 In reply to 11415.6 
interesting

that is the whole script i dont have a html file

i am running it with this command

"C:\Program Files\MoI 4.0\MoI.exe" C:\Users\Administrator\Desktop\trimtest.js