Phoe6 wrote:
This is a windows services question. The following script which is a
windows service was supposed to something ( download wallpaper and set
the desktopwallpaper) at 16:45 my time here. The service is running,
but the supposed action did not take place. Does anyone who is aware
of win32 apis point me what I am doing wrong here: 
http://paste.pocoo.org/show/106428/

I don't know much about Win32 Services. So I took the example snippet
from Mark Hammond's book on Python Windows programming.


Just a quickie without looking at the code in any detail:
as a rule, Services can't interact with the desktop and
may not be running as any particular user. (Any desktop
user, in any case). While it *is* possible to enable that
interaction (altho' harder and harder as in Vista & W7)
this program is probably a good candidate for something
running silently under the logged-in user. (If you're
leaving your machine on in any case for this to run,
you might as well leave yourself logged in and screen-locked).

TJG
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to