A memory check here.
I remember, or think I remember, that it was possible to keep my program (running on a Mac) active, even if another program was running.
For some reason I think there was an option to do so.
App.AllowAutoQuit controls whether your application automatically quits or not when it loses active status. Check what your setting is, the default varies by platform (true on Windows*, false on macOS).
I think I know what the “problem” is.
The program runs fine, but when the computer powers down at the end of my screensaver time, the “updates” (showing date and time, etc) stop. I log back in and the program continues to run normally.
So it has to do with my computer “sleeping” I guess.
Maybe I have to have some “thread” to keep it “alive”?
There is a command line program called “caffeinate”, which prevents sleep, you could try running that in a shell. I know that there was a library somewhere that did the same thing as “caffeinate”, but I can’t remember the details.
There you can prevent system sleep or just display sleep.
e.g.
Var Activity as NSProcessInfoActivityMBS // property in your window, control, thread, app
Var AllowAppNap as boolean // allow or not?
Var ProcessInfo as NSProcessInfoMBS = NSProcessInfoMBS.processInfo
if AllowAppNap then
Activity = nil
else
// disable sleep to let us make something...
Activity = ProcessInfo.beginActivity(NSProcessInfoMBS.NSActivityBackground, "Backup running")
end if