How to export midi without the hidden tracks included?

Anybody know how to delete the hidden tracks? I have a bunch of them within 100+ tracks and when I export midi they all went into the midi… if this not possible I have to manually show the tracks and delete them one by one… anyway to delete them in the left visibility window?

Hi,

You could use a Project Logical Editor:
Filter
Container Type Is > Equal > Track > And
Property > Property is set > Is Hidden

Action
keep it empty

Function
Delete