[python-win32] Re: Triggering a browser window from a python service

Paul Moore pf_moore at yahoo.co.uk
Wed Jul 23 14:13:01 EDT 2003


"Ausum Studio" <ausum_studio at hotmail.com> writes:

> I'm trying to create local alerts for my W2K server running Zope, and those
> will take the form of browser's pop-ups. I've tested:
>
> def trigger_window(url):
>     import webbrowser
>     webbrowser.open(url)
>
> and it works fine from a standalone Zope (via an ExternalMethod), except
> when it runs as a win32 service.

Windows services don't have access to the screen (the "Desktop") by
default. You need to change the (Zope?) service to set the "interact
with the desktop" property on.

Paul.
-- 
This signature intentionally left blank




More information about the Python-win32 mailing list