[python-win32] Access is denied

2019-04-17 Thread Tom Kacvinsky
I filed a github issue (#1331), but reading through the other issues, it became apparent I should use this mailing list instead. Here is a synopsis of the problem (cut and paste from the github issue). - Expected behavior and actual behavior. using Python 2.7.5 for 32-bit Windows, using

[python-win32] Python code to drop file onto GUI, using pywin32

2019-03-17 Thread Tom Parker
to get started. Thanks for any pointers you can provide. - Tom ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Killing a subprocess spawned by a service

2013-06-19 Thread Tom
Have you tried spawning pythonw.exe instead of python.exe? http://bugs.python.org/issue3905 might help you. A bit of googling suggests this is a recurring issue with subprocess and non-windowed applications. On Wed, Jun 19, 2013 at 3:20 PM, Patrick Tisdale patrick.tisd...@gmail.comwrote: I

[python-win32] Python Finalisation

2013-01-10 Thread Tom Bowles
posting this from a phone. Hope the stackoverflow link is acceptable. Thanks, Tom ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] Python Finalisation

2013-01-10 Thread Tom Bowles
On 10 January 2013 17:15, Aahz a...@pythoncraft.com wrote: On Thu, Jan 10, 2013, Tom Bowles wrote: Hi, I have a question regarding python finalisation when using pywin32. The details are at http://stackoverflow.com/questions/14257654/how-should-i-or-should-i-finalize-python

Re: [python-win32] check if comserver is registered, no - install it?

2012-12-19 Thread Tom Hawkins
._handle = _dlopen(self._name, mode) WindowsError: [Error 193] %1 ist keine zul?ssige Win32-Anwendung For the benefit of anyone without German the last line of that translates as '%1 is not a valid Win32 application'. Tom Hawkins Principal Scientist Innospec Inc Tel: +44 (0)151 356 6197

Re: [python-win32] speed up win32com.client

2012-05-09 Thread Tom
Sorry to interject here but I have a question along the same vein: If I have a script (in this case that interacts with Word through win32com.client) with statements like this: doc.ActiveWindow.Selection.BoldRun() doc.ActiveWindow.Selection.TypeText(_type) doc.ActiveWindow.Selection.BoldRun()

[python-win32] COM Browser Adobe InDesign Type Library not loading

2011-12-14 Thread Boc Tom
Hi, Using PythonWin with InDesign, The type info can not be loaded when browsing the Adobe Type Library, Any idea how to fix this ? Thanks for your help, Thomas ___ python-win32 mailing list

[python-win32] makepy.py usage and COM

2011-12-12 Thread Boc Tom
Hi, I have Python 3.2.2 and pyWin32 build 216 : I have the same issue already mentionned here : http://mail.python.org/pipermail/python-win32/2008-August/008093.html I just can't get the code right, Is there any update that would fix that bug ?

[python-win32] JavaScript - Python

2011-12-12 Thread Boc Tom
Hi, I want to use Python to automate InDesign, There is very little help on that subject ! I would like to use some of the sample scripts provided in the InDesign Sripting documentation, So I translate them from VBScript to Python which is ok except there are some parts written in JavaScript

[python-win32] Fwd: Issue with inserting Microsoft Excel charts into Word

2011-08-26 Thread Tom
Me and Tim started to email each other directly, here are the messages for anyone who is interested. ~Tom -- Forwarded message -- From: Tom t...@pentest.7safe.com Date: Fri, Aug 26, 2011 at 12:04 PM Subject: Re: [python-win32] Issue with inserting Microsoft Excel charts into Word

[python-win32] Issue with inserting Microsoft Excel charts into Word

2011-08-25 Thread Tom
? ~Tom ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] UnicodeEncodingError when print a doc file

2011-06-16 Thread Tom Hawkins
file into the Python variable filetext. If you just want to get the word count of this text, you don't need to use a loop, by the way - you can get it from: wordcount = len(filetext.split()) Tom Hawkins Principal Scientist Innospec Inc Tel: +44 (0)151 356 6197 Fax: +44 (0)151 356 6112

Re: [python-win32] UnicodeEncodingError when print a doc file

2011-06-15 Thread Tom Hawkins
Again these examples are for Word 2003. PS Profuse apologies for quoting the entire digest in my last message! Tom Hawkins Principal Scientist Innospec Inc Tel: +44 (0)151 356 6197 Fax: +44 (0)151 356 6112 image001.jpg___ python-win32

[python-win32] Converting HTML formatting to Microsoft Word

2011-06-13 Thread Tom
of both bold and non bold as far as I can tell). Does anyone have any experience doing anything similar to this, or can anyone give me a simpler way to do this? ~Tom ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman

Re: [python-win32] How to specify parameters in a query using odbc

2011-02-02 Thread Tom Hawkins
Thanks for all the replies - it's now working fine with ? (after some delay caused by testing with a single parameter query but forgetting that the parameter has to be supplied as a single-member list)... Tom Tom Hawkins Principal Scientist Innospec Inc Tel: +44 (0)151 356 6197 Fax

[python-win32] How to specify parameters in a query using odbc

2011-02-01 Thread Tom Hawkins
I'm doing wrong please? Apologies if I've missed something stupid. I get the same error if I only specify one of the parameters with %s and leave the other one literal, by the way. Thanks, Tom Tom Hawkins Principal Scientist Innospec Inc Tel: +44 (0)151 356 6197 Fax: +44 (0)151 356

Re: [python-win32] Boolean type changed in Python 3.0?

2011-01-15 Thread Tom
I have the same problems and googled a lot but just found Sunny Carter's requests with no solution. Is there any, yet? Thanks! ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] wmi, Win32_ScheduledJob and Execution User

2008-05-01 Thread Tom Moulton
the Win32_ScheduledJob call or via the wmi interface? The way I am doing it right now, I could have simply called schtasks.exe directly and had it create the process with the intended run user, which I don't find very eloquent. Tom ___ python-win32 mailing list python

[python-win32] Accessing a Remote Registry....

2008-04-27 Thread Tom Moulton
Much obliged. Worked like a champ, but you already knew that! ;-) Tom ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[python-win32] Accessing a Remote Registry....

2008-04-27 Thread Tom Moulton
Much obliged. Worked like a champ, but you already knew that! ;-) Tom ___ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] [pywin32-bugs] ISAPI Set-Cookie Probs

2008-02-25 Thread Tom Wells
have a build available, I am running python 2.5.1 (32 bit), but would also require an amd64 build if possible? Thanks, Tom On Mon, Feb 25, 2008 at 3:50 PM, Mark Hammond [EMAIL PROTECTED] wrote: Actually there is no such fc.SetHeader() function ... Yep - it was PREPROC_HEADERS I was referring

Re: [python-win32] [pywin32-bugs] ISAPI Set-Cookie Probs

2008-02-25 Thread Tom Wells
(for python 2.5.1), plus just downloaded and installed the latest platform sdk from ( http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5displaylang=en#filelist ). Any ideas? I'm purely after the ISAPI bits. Thanks, Tom On Mon, Feb 25, 2008 at 4:28 PM

Re: [python-win32] [pywin32-bugs] ISAPI Set-Cookie Probs

2008-02-24 Thread Tom Wells
(200, 302 etc), and not for actually setting an HTTP header. Another thought I had was keeping a reference to the PREPROC notification structure, and then calling SetHeader() on it inside the AUTHENTICATION notification - do you think this might work? Thanks, Tom On Sat, Feb 23, 2008 at 12:44 AM

[python-win32] Windows service problem

2007-06-12 Thread Dalton, Tom
, and if so restarts it. Is this some weird issue with using sleep within the service's main method? If so, how can I get round this problem? I'm using pywin 2.0.4 and python 2.4.3 Thanks for any help anyone can give :-) Tom ___ Python-win32 mailing list Python

Re: [python-win32] Makepy and Documentum Foundation Classes

2006-12-21 Thread Tom Schaible
to coax correct values out of this since Python is cabable of getting the correct IDs. Any help is appreciated. Thanks, --Tom With carefully-arranged electrons, Mark Hammond wrote: Unfortunately, the dynamic dispatch and makepy utilities don't get the correct IDs for the various methods -- which