Some ideas - none of these tested or tried :) LEP - and use commands to bring the desktop to the fore and then 4D? Move mouse to the menu bar, and post a click?
On launch of 4D use LEP to reset screen saver timeout, reset on quit On launch of 4D use LEP to reset power timeout, reset on quit LEP to open and then close a desktop window open an off screen window (in 4D, with a web area), launch a connection to a safe url (apple or microsoft). maybe even just touch the disk... pick a folder (desktop, or your database) and Get Document list write an empty file to some safe location, and delete it. Chip On Wed, 7 Aug 2019 17:59:46 +0000, Jim Medlen via 4D_Tech wrote: > > > To: [email protected] > From: Jim Medlen > Company: Functional Devices, Inc. > Subject: Prevent Client from Sleeping > Date: Wednesday, August 7, 2019 > > > Looking for ideas or thoughts on generating an event that will > prevent the client machine from sleeping? > > I am trying to prevent clients from Sleeping when connected to a 4D server. > > The POST KEY and POST EVENT both say "Its effect is as if the user > actually entered a character on the keyboard.” > > but these events do not prevent the screen saver from activating. > > It appears that the OS does not see this as a user event. > > > Thanks, > > Jim Medlen > > Computer & Information Systems > Functional Devices, Inc. > [email protected]<mailto:[email protected]> > > Main: (765) 883-5538 x 5735 > Direct: (765) 416-6835 > FAX: (765) 883-7505 > > http://www.functionaldevices.com > > This email was transmitted on 100 percent recycled electrons > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > Archive: http://lists.4d.com/archives.html > Options: https://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** --------------- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

