title: Something like translit.net but on autohotkey
body: <p>I want to write <a href="http://translit.net" rel="nofollow noreferrer">Translit.net</a> but on autohotkey. So I succesfully done with the part where I have only one letter:</p>
  <pre><code>:*:a::а
  
  :*:b::б
  
  :*:v::в
  
  :*:g::г
  
  :*:d::д
  </code></pre>
  <p>...</p>
  <p>But now I have a problem with the translation of &quot;shh&quot; to &quot;щ&quot; and other 'two to one' char translations. When I start typing shh i get схх back, but I want to get щ. What could I do?</p>
  <p>My current idea: When I press a key it should write down the letter and add non translated letter to a 3 element array and check if the array elements create a <em>shh</em> ,<em>ch</em>, <em>sh</em> or any other combination larger than one. Then I could remove the last 3 or 2 typed letter and send a russian letter what I need. Maybe someone know an easier way to do that. I want my script to work exactly like that page I posted. A solution in C or C# instead of AutoHotkey would help me too.</p>