Trigger patterns via Midi in external DAW?

Hey you guys, just wondering if this is possible. Maybe a script would be needed? I feel like it could be useful with the session window in Live.