title: AutoIT send() commands not working properly
body: <p>So I have a game client with 2 input fields: id pass and 1 button: login.
  My login credentials are: <code>$id=1234</code> and <code>$pass=a_bCd</code>.
  I'm using AutoIT scripting to automate the login process (my script automatically inputs the id and pass in the login fields) and my <code>AutoLogin()</code> function looks like:</p>
  
  <pre><code>send($id + "{tab}")
  Sleep(10)
  send($pass + "{enter}")
  </code></pre>
  
  <p>Sometimes it works fine, but sometimes my script introduces <code>1234a-</code> or <code>1234a_</code> in the ID field and the rest of the characters in the pass field. I tried many solutions like <code>controlsend("Game","","","1234{tab}a_bCd{enter}")</code>, or changing <code>sleep()</code> values, etc. but the input still goes wrong sometimes. Figured the send delay or sleep would have the problem, still don't know what to do.</p>
  
  <p>Manually inserting the id and pass works properly. What would be a good solving of this problem? Thanks </p>