title: Unable to identify Google Chrome Window using AutoHotkey
body: <p>I am trying to use AutoHotkey to activate the top most Google Chrome window. This is the code I am using:</p>
  
  <pre><code>WinActivate, ahk_class Chrome_WidgetWin_1
  </code></pre>
  
  <p>However, it does not seem to have any effect.</p>
  
  <p>Trying</p>
  
  <pre><code>WinGet nChromeWindows, Count, ahk_class Chrome_WidgetWin_1
  </code></pre>
  
  <p>makes the <code>nChromeWindows</code> variable get a value that is more than 1, even when only a single chrome window is open. This indicates that the reason the WinActivate above does not work correctly is that multiple Chrome "windows" seem to exist even when there is only one "actual" one.</p>
  
  <p>Can anyone explain what is going on and how to identify the "real" (topmost) Chrome window?</p>
  
  <p>TIA, Himanshu</p>