[python-win32] Re: TerminateProcess issues

2005-09-22 Thread Roger Upole
Without knowing how the GUI executes the methods (eg in a different thread,etc) it's hard to tell what might be happening with the handle between the calls. You might be able to open another handle to the process and use that to kill it. h=win32api.OpenProcess(True, win32con.PROCESS_TERMINATE, s

Re: [python-win32] Simultaneous Adobe Reader

2005-09-22 Thread Jim Vickroy
Jorge Ramirez wrote: > Hello, > > From windows, using a python script how can I open Adobe Reader > without displaying a PDF document? Furthermore, using a script is it > possible to run two Adobe Reader sessions simulatneously. Thanks in > advance. > > Kind Regards, > JR > >-

[python-win32] Simultaneous Adobe Reader

2005-09-22 Thread Jorge Ramirez
Hello,   From windows, using a python script how can I open Adobe Reader without displaying a PDF document?  Furthermore, using a script is it possible to run two Adobe Reader sessions simulatneously.  Thanks in advance.   Kind Regards, JR ___ Pyth

Re: [python-win32] Open PDF

2005-09-22 Thread Thomas Heller
"Jorge Ramirez" <[EMAIL PROTECTED]> writes: > Hello, > > I would like to know how to open a PDF document from a python script, > any suggestions are appreciated. os.startfile("mydoc.pdf") Thomas ___ Python-win32 mailing list Python-win32@python.org

[python-win32] TerminateProcess issues

2005-09-22 Thread Sean Q. Hendricks
Hi all, I've been working on a Python script that executes an external Windows program when the user presses a button, and I would like it to stop when they press another button. To that end, I created a class that represents the GUI, and there are two methods that are bound to button events.

[python-win32] Open PDF

2005-09-22 Thread Jorge Ramirez
Hello,   I would like to know how to open a PDF document from a python script, any suggestions are appreciated.   Thanks,   JR     ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32