title: AutoHotKey: "{Enter" Hotstring
body: <p>As I've started using AutoHotKey daily, I thought it'd be a good idea to implement it in my coding. </p>
  
  <p>I'd like it to create a structure like this:</p>
  
  <pre><code>{
      (Tab)
  }
  </code></pre>
  
  <p>when <code>{</code> followed by an <code>Enter</code> are entered.</p>
  
  <p>&nbsp;</p>
  
  <p>So far, I've got:</p>
  
  <pre><code>:*{Enter::
      SendInput, {{}
      SendInput, {Enter}
      SendInput, {Enter}
      SendInput, {}}
      SendInput, {Up}
      SendInput, {Tab}
  return
  </code></pre>
  
  <p>but I keep getting errors and strange anomalies.</p>