Re: [python-win32] Virtual print driver - similiar to winpdf

2008-09-22 Thread Jürgen Kareta
Thanks for you guidance Tim. After reviewing I am coming to the same conclusion. This is trickier than you might guess. Does the application actually write to the printer using a Windows printer driver? Some old applications that just used a printer for logging wrote directly to the

Re: [python-win32] Overlay Icon Question and network drives

2008-04-16 Thread Jürgen Kareta
Tim Golden schrieb: [EMAIL PROTECTED] wrote: Hi Andrea, the code in my first link was from the mercurial extension TortoiseHG. They found some issues that the icon overlay slows down network devices. See here:

Re: [python-win32] Child Windows

2008-04-08 Thread Jürgen Kareta
João Abrantes schrieb: Hello, I am trying to make a program that sends text to notepad using win32api.SendMessage function. The thing is that I don't know how to get the notepad child window edit handler and I can't find any documentation about win32 (python) can you help me? Regards.

Re: [python-win32] Drag and Drop from Outlook

2007-03-13 Thread Jürgen Kareta
Andrea Gavana schrieb: Hi All, I am trying to make my application accepting drag and drop emails from Outlook. I was told on the wxPython mailing list to try to use win32com, but actually I have no idea which clipboard data format an Outlook email has. I have tried to set up a custom drop

Re: [python-win32] Waiting for Wireless

2006-10-25 Thread Jürgen Kareta
Tim Roberts schrieb: As a self-proclaimed studly Win32 programmer, I'm embarrassed at not being able to find a neat solution to this. I come to you humbly, seeking coolness. I have a script on my laptop that runs after login and launches the tools that I use all the time, including the putty

Re: [python-win32] printer identification on Windows network

2006-10-17 Thread Jürgen Kareta
Hello Dean, I am not a Windows programmer, but have managed to port some Linux codes to the python/windows environment. To allow windows users to print, I used some code that needed to know the name of the 'shares' providing printers (there were 2 of them in the environment in which I work).

Re: [python-win32] printer identification on Windows network

2006-10-17 Thread Jürgen Kareta
Hello Dean, I am not a Windows programmer, but have managed to port some Linux codes to the python/windows environment. To allow windows users to print, I used some code that needed to know the name of the 'shares' providing printers (there were 2 of them in the environment in which I work).

Re: [python-win32] printer identification on Windows network

2006-10-17 Thread Jürgen Kareta
Uphs , sorry for spamming the ml. I had a problem with my mail reader. regards, Jürgen ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

Re: [python-win32] getting global addressbook with extended mapi]

2006-01-09 Thread Jürgen Kareta
Hi Filip, what version of the pythonwin extension do you use ? It should be Build 205, because this Build contains some important changes. regards, Jürgen Hi, Looking around to (ab)use the Exchange GAL from python I found the code snippet listed below, posted to this list last summer. When I

[python-win32] kill process on a remote server

2005-12-19 Thread Jürgen Kareta
Hi list, I need some suggestions on how I best kill a process on a remote server. It is a NT4 Terminalserver. Until now I have a working script which use the windows commands: 'qprocess' and 'kill' over popen to terminate the process. This works fine for me as an administrator but I like to

Re: [python-win32] error message after many win32pipe.popen calls

2005-11-16 Thread Jürgen Kareta
Hi Tim, thanks for your suggestions. Does it fail if you run it outside of Pythonwin? No it doesn't. So I can ignore this error, as the script will normally run outside Pythonwin. Are you sure you're closing all of the pipes properly before starting a new one? Yes, I explicitly close the

Re: [python-win32] error message after many win32pipe.popen calls

2005-11-15 Thread Jürgen Kareta
Hi Bill, thanks for your help, it works for me too :-) Jürgen [Jürgen wrote] Hi all, currently I'm testing a scipt which converts many (500) ps files to pdf. I use ghostscript and the conversion is done by win32pipe.popen( ps2pdf.bat inputfile outputfile). I got the following error

Re: [python-win32] PythonWin Script Editor Display Line Numbers?

2005-06-29 Thread Jürgen Kareta
Hello Jeff, I have an easy question that I’m sure someone on the list can help with. Is there a way to display line numbers in the Python Script editor in PythonWin? select view/options in the main menu; select tab editor set Line Numbers in the Margins Widths Frame to something more than

[python-win32] pythons mapi support

2005-06-13 Thread Jürgen Kareta
Hello, the mapi api tells: The *IDistList* interface inherits from IMAPICONTAINER and includes the same methods as address book containers. PyIAddrBook contains 3 methods (ResolveName, Open Entry and CompareEntryIds) but PyIDistList has no methods. So I'm wondering if this is accidental

[python-win32] [Re: getting email adresses from outlook]

2005-06-06 Thread Jürgen Kareta
Hi Tony, I've written a python program which loops over an Outlook distribution list, so I can pull off the names of the people on it. When my program tries to run Outlook, Outlook pops up a Dialoge I'd like to know what CDO is and how to install it. for installing look at

[python-win32] getting global addressbook with extended mapi

2005-06-06 Thread Jürgen Kareta
Hello, I followed Marks hint and tried to get my global addressbook entries with extended mapi. from win32com.mapi import mapiutil from win32com.mapi import exchange import pprint,pythoncom profileName = Test session = mapi.MAPIInitialize(None) session =mapi.MAPILogonEx(0,'test',None,

[python-win32] getting email adresses from outlook

2005-05-31 Thread Jürgen Kareta
Hello, I'm trying to get some email addresses with the following pythoncode: import win32com.client O = win32com.client.gencache.EnsureDispatch('Outlook.Application') mapi=O.GetNamespace('MAPI') adr_li=mapi.AddressLists.Item('Global Addressbook')