Hi,
one of my programs needs 25 minutes for a serial communication.
I want to avoid that OSX goes into sleep mode.
Up to now the user have to push the mouse. Not the best way
I found this:
http://stackoverflow.com/questions/1848 ... scriptobjc
Is this still valid?
And how is it possible in PB with Import?
Bernd
Avoid sleep
Re: Avoid sleep
There is a thread about AppNap but I don't know if that's what you are looking for
http://www.purebasic.fr/english/viewtop ... 19&t=58828
http://www.purebasic.fr/english/viewtop ... 19&t=58828
Windows (x64)
Raspberry Pi OS (Arm64)
Raspberry Pi OS (Arm64)
Re: Avoid sleep
Search this board for "app nap".