like following fragment. code:
----------------------------------------------------------------------
If Ping('www.google.com', 500) Then
_ChangeTrayIconColor('DefaultColor')
Else
_ChangeTrayIconColor('GreyColor')
EndIf
Func _ChangeTrayIconColor($Color)
;.....how to write?
EndFunc
-----------------------------------------------------------------------
Don't use TraySetIcon(), because my program has only one file: App.exe
If using <ModernMenuRaw.au3> to create trayicon, it can change the trayIcon color, please tell me how to do ?
----------------------------------------------------------------------
If Ping('www.google.com', 500) Then
_ChangeTrayIconColor('DefaultColor')
Else
_ChangeTrayIconColor('GreyColor')
EndIf
Func _ChangeTrayIconColor($Color)
;.....how to write?
EndFunc
-----------------------------------------------------------------------
Don't use TraySetIcon(), because my program has only one file: App.exe
If using <ModernMenuRaw.au3> to create trayicon, it can change the trayIcon color, please tell me how to do ?