title: Scroll Lock and Numb Lock Icon Notification in Auto Hot Key - AHK
body: <p>I need a script that will put specific icon(that I specified) in the system tray when Scroll Lock or Numb Lock(different icons) is active. Also the script needs to hide icon when Lock or Numb is not pressed. </p>
  
  <p>So far I got this:</p>
  
  <pre><code>If GetKeyState("Numlock", "T")
      Menu, Tray, Icon, Shell32.dll, 174
  
  ~NumLock::
  If GetKeyState("Numlock", "T")
      Menu, Tray, Icon, Shell32.dll, 174
  Else
      Menu, Tray, Icon, Autohotkey.exe, 1
  return
  </code></pre>
  
  <p>This is working but default AHK icon is still present in system tray; it should be hidden when Numb Lock or Scroll lock are not active.</p>
  
  <p>Thanks.</p>