[python-win32] knowing "file accessed" and "file opened"

2010-02-26 Thread OptiCar
Hello, i need to know when an updated file has been opened. is it possible to watch the "OPEN" and "ACCESS" event with an adaptation of the Tim Golden's script ? need to work on windows, does pywin32 can ? inotify is only for linux dazuko can catch on linux what can work on windows to see the file

[python-win32] Win32 exception occurred releasing IUnknown

2010-02-26 Thread Petr Dlabal
Hi, I'm trying to process large amount of autocad drawings by python script using DWGDirect library (but I think I already saw the same problem with original autocad automation with python). I'm trying to explode the block in drawing and this action leads to delete the original block from drawing.

Re: [python-win32] wmi error

2010-02-26 Thread Christophe Deze
wmimgmt.msc launch correcty but an error occured, "impossible to connect, WMI not found" it wasn't a problem in my script but it was with XP that was a bit too much customized thanks Le 25/02/2010 11:17, Tim Golden a écrit : On 25/02/2010 09:55, Christophe Deze wrote: Le 24/02/2010 20:18,

[python-win32] How to query the peak commit charge

2010-02-26 Thread Mike Driscoll
Hi, I have been tasked with trying to find a way to query the peak commit charge of our various workstations. It would be great if I could do it remotely, but logging is also a possibility. Unfortunately, my Google skills have failed me as I can't find anyone else who is doing this publicly.

Re: [python-win32] knowing "file accessed" and "file opened"

2010-02-26 Thread Tim Roberts
OptiCar wrote: > i need to know when an updated file has been opened. > is it possible to watch the "OPEN" and "ACCESS" event with an adaptation > of the Tim Golden's script ? > need to work on windows, does pywin32 can ? > inotify is only for linux > dazuko can catch on linux > what can work on wi

Re: [python-win32] knowing "file accessed" and "file opened"

2010-02-26 Thread Aahz
On Fri, Feb 26, 2010, OptiCar wrote: > > i need to know when an updated file has been opened. > is it possible to watch the "OPEN" and "ACCESS" event with an adaptation > of the Tim Golden's script ? > need to work on windows, does pywin32 can ? > inotify is only for linux > dazuko can catch on lin

Re: [python-win32] Concurrent Access to COM object from Python and VB6

2010-02-26 Thread Bryan Berrett
Deleting the object and object instances allow the other applications to run. Any other thoughts? On 2/5/2010 12:25 PM, Tim Roberts wrote: Bryan Berrett wrote: I have a number of programs written in VB6 that use an ActiveX control that allows access to a shared memory pool of variables. I suc

Re: [python-win32] knowing "file accessed" and "file opened"

2010-02-26 Thread OptiCar
Hello, i need to know when an updated file has been opened. is it possible to watch the "OPEN" and "ACCESS" event with an adaptation of the Tim Golden's script ? need to work on windows, does pywin32 can ? inotify is only for linux dazuko can catch on linux what can work on windows to see the file

Re: [python-win32] Concurrent Access to COM object from Python and VB6

2010-02-26 Thread Tim Roberts
Bryan Berrett wrote: > Deleting the object and object instances allow the other applications > to run. > > Any other thoughts? No, I think you have your answer. You will have to delete the objects after every access. I would call this a design flaw in the COM object, but at least you have a solu

Re: [python-win32] How to query the peak commit charge

2010-02-26 Thread Mark Hammond
On 27/02/2010 2:22 AM, Mike Driscoll wrote: Hi, I have been tasked with trying to find a way to query the peak commit charge of our various workstations. It would be great if I could do it remotely, but logging is also a possibility. Unfortunately, my Google skills have failed me as I can't find