title: Autoit pause Start/stop hotkey
body: <p>I have a script pushing "k" button in loop. I have added pause button on "q".
  I also want "w" to pause the script. But I don want "w" to start my script. Is that possible?</p>
  
  <pre><code>Global $UnPaused
  HotKeySet("q", "TogglePause")
  HotKeySet("{PAUSE}", "TogglePause")
  HotKeySet("{.}", "Terminate")
  
  While 1
  Sleep(100)
  WEnd
  
  Func TogglePause()
  $UnPaused = NOT $UnPaused
  While $UnPaused
      Send("k")
  WEnd
  EndFunc
  
  Func Terminate()
  Exit 0
  EndFunc
  </code></pre>