[python-win32] Error in PythonWin docs for FlashWindow ?

2005-03-17 Thread Tony Cappellini
I was calling win32gui.FlashWindow(), with the 6 arguments specified in the PythonWin docs win32gui.FlashWindowint = FlashWindow(hwnd, bInvert , hwnd , dwFlags , uCount , dwTimeout ) The error stated that FlashWindow() only takes 2 arguments. Mark, when you get around to looking at this, if you

Re: [python-win32] Thread won't run in service

2005-03-17 Thread David Rushby
Does the thread actually not run, or does it run, but lack the right to write files, raise an exception that you have no way of detecting, and exit? If you install the service as an administrative user who has the "Log on as a service" right (in Control Panel -> Administrative Tools -> Local Secur

[python-win32] Thread won't run in service

2005-03-17 Thread wyvernlist
Hi, I'm writing an event log monitor that will run as a service, and to do that I'm going to follow the advice someone gave me on this list earlier and implement a producer/consumer model, where one thread listens for new event log entries and pushes them onto a Queue, and the second thread rea

[python-win32] Cannot use Browse PythonPath in PythonWin

2005-03-17 Thread Richard Dybowski
I have recently installed PythonWin 2.4. There is a problem with Tools->Browse PythonPath. Whenever I select it, I get the long error message shown below. I would be very grateful for any help with this matter. My operating system is Windows 98 SE (4.10.A) Python used is ActivePython 2.4.0-2

[python-win32] system toolbar icons

2005-03-17 Thread Roger Upole
The problem with the system tray icon is due to a bug in mfc 7.1 that's causing Pythonwin to not shut down correctly.. There's a workaround in CVS, and should be in the upcoming release. Roger "Robin Becker" wrote: Is it a known bug that the pythonwin icon seems to persist in the system

RE: [python-win32] system toolbar icons

2005-03-17 Thread Adam Patt
This is actually a windows problem I have seen many times. What happens is if any program crashes, it can leave phantom icons on the system tray. I have seen this a lot with outlook and Yahoo Pager. What you usually need to do is just move your mouse over the icon on the tray and windows will cl

RE: [python-win32] Active Directory, ADSI, WMI integration

2005-03-17 Thread Tim Golden
[Damon Brinkley] | Hello everyone. I am a sys admin in charge of about 100 | windows servers in an Active Directory environment and would | like to know if there's a way to use Python for my scripting | needs instead of vbscript. I would like to do some ADSI and | WMI type stuff with Python i

[python-win32] Active Directory, ADSI, WMI integration

2005-03-17 Thread Damon Brinkley
Hello everyone. I am a sys admin in charge of about 100 windows servers in an Active Directory environment and would like to know if there's a way to use Python for my scripting needs instead of vbscript. I would like to do some ADSI and WMI type stuff with Python if possible. Any help would

[python-win32] system toolbar icons

2005-03-17 Thread Robin Becker
Is it a known bug that the pythonwin icon seems to persist in the system toolbar area when the toplevel window is killed. It doesn't seem to happen when the file.exit is hit. Also I seem to be able to get the pythonwin process to persist in a hidden way (I think when a debug session is killed b