[python-win32] Windows Service, user activity and timed message box
Ferdinand Sousa
ferdinandsousa at gmail.com
Tue Jan 27 14:01:43 CET 2009
Greetings:
I wanted some help on the following topics:
A] How do I set up a script to run as a service? Are there any prerequisites
for this?
B] How do we check duration since last user activity -- Assuming that the
screen is set to turn off/display a screensaver after a certain duration, I
wouldn't mind checking if this has indeed occurred (I know how to use
win32gui <http://win32gui.html/>.SystemParametersInfo to check if either of
these has occurred). However, I would prefer to check the time elapsed since
last user activity.
C] Timed message box -- Is there anyway I can set a timeout for a message
box, so that if a user does not click some button within 'x' seconds, the
message box closes of its own accord?
Thanks in advance!
Best regards,
Ferdi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20090127/0f5b5e21/attachment.htm>
More information about the python-win32
mailing list