Hi Jim, I am not sure that you will be able to effectively prevent the computer from sleeping.
Here are some examples that you will be unable to intercept: - the user closes their laptop lid (the machine will most likely go to sleep - this is adjusted in power settings on Windows) - the user selects SLEEP or STANDBY from the power/shutdown options (the machine will certainly go to sleep) - the user uses the Windows Key + L key combination to lock the computer (moving the mouse or pasting keys will be ineffective if the machine is locked) There may be others too. -Tim ********************************************************************** 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] **********************************************************************

