title: how to create Adium chat tab with AppleScript
body: <p>I use an AppleScript script to send msg to my contact through Quicksilver. It looks similarly like this (<a href="http://dcortesi.com/2008/01/12/adium-quicksilver-script/" rel="nofollow">link</a>), but the line to send the message to the contact is: </p>
  
  <pre><code>tell account of im_contact
      set newChat to make new chat with contacts {im_contact} with new chat window
  end tell
  </code></pre>
  
  <p>i.e: to send a msg to Anne, activate Quicksilver, press '.', type <code>anne: my message here</code> and it will create a new chat window with Anne with the typed message in the background (I like it in the background since I don't want the new focused window to interrupt my workflow).<br>
  The problem is for different contacts, it creates different chat windows not tabs.  </p>
  
  <p>I emailed the Adium for help and they asked me to try this with no success:  </p>
  
  <pre><code>tell account of im_contact
      set newChat to make new chat with contacts {im_contact} at end of chat window 1 with new chat window
  end tell 
  </code></pre>
  
  <p>or   </p>
  
  <pre><code>tell account of im_contact
      set newChat to make new chat with contacts {im_contact} at end of chat window 1 
  end tell 
  </code></pre>
  
  <p>How can I modify this script to make it create tabs instead of new chat windows in the background? </p>