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
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
>
>-
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
"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
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.
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