title: How to only execute next command after first command is executed in AHK?
body: <p>I have AutoHotKey script. </p>
  
  <p>Currently my AHK script is running all the time. and it waits for user inputs.</p>
  
  <p>if user presses 11 then do something.<br>
  if user presses 12 then do something else.</p>
  
  <p><strong>current AHK script</strong></p>
  
  <pre><code>1::
  Input Key, L1
  
  if Key=1
      {
      Run C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -File C:\Users\username\Desktop\new.ps1
      ; How can I make this command run only after above script has finished executing?
  }
  </code></pre>