does not 4D already provide sleep detection with v16 and new network layer?
https://blog.4d.com/application-sleep-notification/ solutions such as this: https://github.com/miyako/4d-plugin-system-notification/ should no longer be necessary. --- c.f. https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setthreadexecutionstate https://developer.apple.com/documentation/foundation/nsactivityoptions?language=objc --- also POST KEY is internal to 4D. you need other means to post a system keydown event https://github.com/miyako/4d-plugin-virtual-key > 2019/08/08 2:59、Jim Medlen via 4D_Tech <4d_tech@lists.4d.com>のメール: > I am trying to prevent clients from Sleeping when connected to a 4D server. ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************