I have this at the top of the script:
Code: Select all
TraySetIcon(A_WorkingDir . "trayicon.ico")
What am I doing wrong?
Code: Select all
TraySetIcon(A_WorkingDir . "trayicon.ico")
Code: Select all
TrayIcon:=A_WorkingDir . "\trayicon.ico"
Menu,Tray,Icon,%TrayIcon%
Code: Select all
TrayTip:="whatever tray tip you want"
Menu,Tray,Tip,%TrayTip%
Code: Select all
TraySetIcon(FileName:="", IconNumber:="", Freeze:="")
{
Menu Tray, Icon, %FileName%, %IconNumber%, %Freeze%
}
That was it! Thanks!JoeWinograd wrote: Btw, note the backslash before the icon's file name, because A_WorkingDir does not have an ending backslash. Also, if you'd like to set a tray tip in V1:
Regards, Joe
Good point, Helgef. So, question for Ashtefere: Did you change anything besides adding the backslash? If not, then V2 is handling that error in a weird way. Regards, JoeHelgef wrote:there must have been two problems
Users browsing this forum: V4Friend and 36 guests