Transmit 5 and iTerm

I found this repository on GitHub which is close to which is how I use iTerm through Alfred.

AppleScript for Alfred => iTerm

It is likely easily adapted to what you’re trying to achieve.

I would try just using “iTerm2” as the application name first though.