Charles Lowe wrote: > Hi, > > I sometimes have a problem whereby during a long operation using > WIN32OLE, I get a message box, which says: > > "This action cannot be completed because the other program is busy. > Choose switch to activate the busy program and correct the problem." > > This same problem was ran into, and a way to circumvent it added to the > python equivalent module. See > http://mail.python.org/pipermail/python-win32/2006-August/004923.html, > and the commit > http://pywin32.cvs.sourceforge.net/pywin32/pywin32/Pythonwin/win32uiole.cpp?r1=1.5&r2=1.6. > > In essence, you just need to be able to get the current message filter, > and set some flags on it. Anyone know if its possible to do this using > Win32API or similar? I spent a bit on it and couldn't figure it out. Does nobody have any ideas about this? It kind of makes WIN32OLE unusable for automating certain long running tasks. -- Posted via http://www.ruby-forum.com/.