fincs / SciTE4AutoHotkey

SciTE distribution for AutoHotkey
https://www.autohotkey.com/scite4ahk/
337 stars 69 forks source link

ActiveWindowInfo.ahk - Specifies tray icon when #NoTrayIcon is enabled? #16

Closed joedf closed 9 years ago

joedf commented 9 years ago

Why specify the tray icon, if #NoTrayIcon is specified?

File: "ActiveWindowInfo.ahk"

#NoTrayIcon
#SingleInstance Ignore
SetWorkingDir, %A_ScriptDir%
SetBatchLines, -1
CoordMode, Pixel, Screen
IfExist, ..\toolicon.icl ; Seems useful enough to support standalone operation.
Menu, Tray, Icon, ..\toolicon.icl, 9

Code in question : Permalink

fincs commented 9 years ago

Not a bug. This is used to change the window icon of Guis when launched from SciTE4AutoHotkey (it is shipped as an uncompiled script and otherwise it would have the standard green H icon).

joedf commented 9 years ago

ahh, ok. simply curious.