Can I export folder events?

I’ve tried creating a macro to export Cycle markers for each but it doesn’t give each event the track name.