Re: [python-win32] Windows Service, user activity and timed message box

2009-02-01 Thread Tim Golden
Ferdinand Sousa wrote: I couldn't find the GetLastInputInfo function (pywin32 212, python 2.5.2 on Xp). That's because it's not there . You'd have to use ctypes or roll your own extension for that. What I'm putting together is a script that uses Adobe Acrobat COM. It opens a port and listens

Re: [python-win32] Windows Service, user activity and timed message box

2009-02-01 Thread Ferdinand Sousa
Hi , first of all, thanks to Harald Armin Massa for the timed message box code (attached as text for reference). I'll tweak it to my requirements. Also, my thanks to Tim J Golden for his help. As regards the following: > B] How do we check duration since last user activity -- Assuming that the >>

Re: [python-win32] Windows Service, user activity and timed message box

2009-01-27 Thread Tim Golden
Ferdinand Sousa wrote: 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? There are a few recipes in the cookbook. Here's one for starters: http://code.activestate.com/recipes/576450/ B] How do we c