Re: [python-win32] AVDoc and PDDoc

2006-09-24 Thread Justin Ezequiel
> From: Michael S <[EMAIL PROTECTED]> > > I am trying to write a short Python script to create > some PDFs. > I create instances of App, AVDoc and PDDoc using the > following syntax: > app = Dispatch("AcroExch.App") > doc = Dispatch("AcroExch.AVDoc") > pd = Dispatch("AcroExch.PDDoc") > > However wh

Re: [python-win32] Code help (Aleksandar Cikota)

2006-04-09 Thread Justin Ezequiel
FocusMax.FocusControl.Focus starts the auto focus operation and returns when Focus is complete. This Method has the same effect as if the user clicked the Focus button on the Focus tab (in FocusMax), but there is no reaction and I don't get any error message. Python code: FM.Focus() # you need th

Re: [python-win32] String weirdness on python 2.4 / windows

2005-10-19 Thread Justin Ezequiel
> Date: Thu, 20 Oct 2005 10:04:24 +1000 > From: Kinsley Turner <[EMAIL PROTECTED]> > > I checked the icon, it seemed to be ok. I'm unfamiliar with win32 > tools, but it seemed that the data being delivered from the socket > rendered differently from a python print() compared to a terminal > 'type

Re: [python-win32] run external program but with timeout

2005-06-15 Thread Justin Ezequiel
On 6/15/05, Justin Ezequiel <[EMAIL PROTECTED]> wrote: > > I want to run an executable but I need to be able to kill it if > it has not completed after 5 or so minutes. > Forgive me. Just now found a Demos folder and a winprocess.py file that at first glance will be e

[python-win32] run external program but with timeout

2005-06-15 Thread Justin Ezequiel
Greetings, I want to run an executable but I need to be able to kill it if it has not completed after 5 or so minutes. Googling gets me signal.signal(signal.SIGALRM, handler) but I need to use this from Windows. I have Python 2.3.4 on WinXP Pro. Had a look at the Python for Windows Documentati