how to enable system tray control (in Windows)
Posted: Tue Oct 06, 2020 3:52 pm
Hi
How do I cause the control icon to appear in my system tray, if FAH is already running before I log in?
After launching FAHclient manually for a few days, I was dismayed to see that the system tray icon fails to appear if I launch FAHclient via scheduled task on system start.
You might ask: "Why are you not running it as a service, if you want it to start on system start?"
To which I'd answer: Because I'm running it as a non-admin user, and multiple things are easier this way (or please tell me if otherwise).
------
BTW, here's the contents of the batch file my Scheduled Task runs:
And here's the contents of the batch file I use to launch FAHControl:
How do I cause the control icon to appear in my system tray, if FAH is already running before I log in?
After launching FAHclient manually for a few days, I was dismayed to see that the system tray icon fails to appear if I launch FAHclient via scheduled task on system start.
You might ask: "Why are you not running it as a service, if you want it to start on system start?"
To which I'd answer: Because I'm running it as a non-admin user, and multiple things are easier this way (or please tell me if otherwise).
------
BTW, here's the contents of the batch file my Scheduled Task runs:
Code: Select all
rem hack around Windows quirk
rem https://docs.microsoft.com/en-us/troubleshoot/windows-server/system-management-components/scheduled-tasks-reference-incorrect-user-profile
timeout 60
set dir=%userprofile%\Desktop\FAH
rem just in case
mkdir "%dir%"
cd "%dir%"
"C:\Program Files (x86)\FAHClient\FAHClient.exe" --user=russell_heater --team=0 --gpu=true --smp=true
Code: Select all
set dir=%userprofile%\Desktop\FAH
start "FAH" /d %dir% "C:\Program Files (x86)\FAHClient\FAHControl.exe"