[python-win32] Calling EasyDialogs.AskFileForOpen, and then killing it

2007-01-05 Thread Axiom X11
I have a small program that you no GUI of its own, but is controlled via a series of telnet commands (from a crestron box I believe). The program is running a twisted reactor, and needs to constantly be listening for commands. When this file dialog has come up, the reactor will ignore all other

[python-win32] Bring EasyDialogs into focus

2006-11-28 Thread Axiom X11
I have started using EasyDialogs instead of GTK to open a file on Windows. It works great, but my problem is, when the dialog is spawned, it goes behind all the current open windows, so that the user doesn't see it. This is my code: file =

[python-win32] disable mouse/keyboard input

2006-10-20 Thread Axiom X11
I've seen several posts about this, but no answers.http://mail.python.org/pipermail/python-list/2004-April/214881.htmlIs this possible in python? Without relying on visual basic scripts? I'd like to be able to ignore all user input while a vidoe is playing, and then be able to allow the user to

[python-win32] killProcName kinda slow

2006-10-18 Thread Axiom X11
I am trying to use the killProcName function in a project, and it does work, but it is kinda slow. Just running it alone has the same effect C:\killProcName.py notepad (wait for about 30 seconds) Killed notepad Is there any way to do this faster? Or is there another function I should be

[python-win32] Calling a subprocess with spaces in the path

2006-10-18 Thread Axiom X11
I am trying to run a command as a subprocess, and it keeps choking on the spaces. import subprocesss = 'vlc C:\\Documents and Settings\\bk\\Documents\\Resources\\WORKINPR2001.mpeg :sout=\#duplicate{dst=display,dst=std{access=udp,mux=ts,dst=224.0.0.0:1234 }}