Are you wanting the midi files of each song?
Have you given any thought to the form of the song, repeats, playback style, coda etc.?
Assuming you have set each song with those appropriate settings, if you have iReal Pro on Mac, you could try using Apple Automator or other scripting app. (Unfortunately there is no key command available for sharing the midi file, but presumably it could be recorded as a mouse action?)