How to send a command to a given iTerm 2 tab?
<p>What is a good way to send a command to a given tab <strong><em>in another window</em></strong> in iTerm 2? I gather that AppleScript may be a good way, but it should be run from within another iTerm window.</p>

<p>I did find a way to broadcast to all tabs, but that is a different feature. Also found a way to open a new tab and send the command, but that is a different feature as well.</p>