最新消息:

NotifyIcon是NSIS支持系统托盘的插件

nsis 永恒心锁 1732浏览 0评论
/*
NotifyIcon是NSIS支持系统托盘的插件
NotifyIcon支持自定义托盘图标,自定义托盘说明文字提示文字
*/
Name "NotifyIcon Example"
OutFile "notifyicon.exe"
Icon "${NSISDIR}ContribGraphicsIconsmodern-install-colorful.ico"
XPStyle on
Section "ThisNameIsIgnoredSoWhyBother?"
 InitPluginsDir
 NotifyIcon::Icon /NOUNLOAD "iy" 103
 NotifyIcon::Icon /NOUNLOAD "b" "NSIS installer" "Starting installation..."
 NotifyIcon::Icon /NOUNLOAD "p" "Completed %d%%"
 Sleep 4000
 NotifyIcon::Icon /NOUNLOAD "!pt" "Tip is back!"
 Sleep 2000
 File "/oname=$PLUGINSDIRicon.ico" "${NSISDIR}ContribGraphicsIconsmodern-install-colorful.ico"
 NotifyIcon::Icon /NOUNLOAD ".fb" "$PLUGINSDIRicon.ico" "NSIS installer" "Installation is finished!"
 Sleep 3000
 NotifyIcon::Icon /NOUNLOAD "f" "$PLUGINSDIRicon.ico"
 Sleep 4000
SectionEnd
Function .onGUIEnd
 NotifyIcon::Icon "r"
FunctionEnd
; eof
永恒心锁,版权所有丨如未注明,均为转载丨本网站采用BY-NC-SA协议进行授权

转载请注明:永恒心锁-分享互联网 » NotifyIcon是NSIS支持系统托盘的插件

您必须 登录 才能发表评论!