title: Activate my app from the tray - AHK
body: <p>Imagine my application's window class name is <code>classAbc</code></p>
  
  <p>My app has a minimized in tray ability,</p>
  
  <p>When a custom key is pressed it goes into tray,</p>
  
  <p>How to activate it from the tray?</p>
  
  <pre><code>WinActivate,  ahk_class classAbc
  </code></pre>
  
  <p>won't work at that time</p>
  
  <p>I also tried <code>WinShow</code> with no success</p>
  
  <p>Will it have a different class name when it goes into tray?</p>
  
  <p>if so I used a macro recorder to find it's class name when it is resident in tray</p>
  
  <p>but just found 2 classes which I think both are related to Microsoft windows menubar itself:</p>
  
  <p>The classes and the activation codes:</p>
  
  <pre><code>WinActivate,  ahk_class Shell_TrayWnd
  WinActivate,  ahk_class NotifyIconOverflowWindow
  </code></pre>
  
  <p>Tried these also but my app doesn't appeared once it goes to the tray.</p>
  
  <p>Thanks in advance for any help</p>