Re: [python-win32] ADSI and LDAP Searches

2005-12-09 Thread Tim Golden
[Gooch, John] > I am trying to get my Python script to search > Active Directory for users with a certain login > name and then have it return their adspath attribute. > Previously, I had a working script that used Tim Golden's > active_directory module, but since the more recent round > of NT

[python-win32] Problem after running MakePy

2005-12-09 Thread Rudy Schockaert
I have a python program that does some things on Exchange mailboxes. I use the MAPI.Session object for this and create it like this:PythonWin 2.4.2 (#67, Oct 30 2005, 16:11:18) [MSC v.1310 32 bit (Intel)] on win32. Portions Copyright 1994-2004 Mark Hammond ([EMAIL PROTECTED]) - see 'Help/About Pyth

Re: [python-win32] Problem after running MakePy

2005-12-09 Thread Tim Golden
[Rudy Schockaert] > I have a python program that does some things on > Exchange mailboxes. I use the MAPI.Session object > for this and create it like this: > import win32com.client > MAPISession = win32com.client.Dispatch("MAPI.Session") > MAPISession.Logon() > for infostores in MAPISession.I

Re: [python-win32] Problem after running MakePy

2005-12-09 Thread Rudy Schockaert
This does indeed work. Is there a way to modify the generated code such tat it works with 1-based iterators instead of 0-based ones?I tried to modify the _getitem_ method by incrementing item before it executes return self._get_good_object_and then I get the correct list of Infostores, but dir

[python-win32] Newbee

2005-12-09 Thread Don Freeman
Hello all. Is this list a suitable place to ask for help on totally simple issues for an absolute beginner? If not can someone direct me to a better place for some simple help?   Example: I know there are functions to parse a filespec string and return the path or filename or extension, but

Re: [python-win32] Newbee

2005-12-09 Thread David Rock
* Don Freeman <[EMAIL PROTECTED]> [2005-12-08 15:23]: > Hello all. Is this list a suitable place to ask for help on totally simple > issues for an absolute beginner? If not can someone direct me to a better > place for some simple help? Nope, this is exactly the right place. > Example: > I know

[python-win32] question about pywin32 and COM event again

2005-12-09 Thread wccppp
Hello,I'm learning to use python to automate AutoCAD and I was able to catch the AutoCAD application event using the code below.  But I don't know if I can catch the event from the active document (or drawing) or not.  The AutoCAD.Application has a property of "ActiveDocument" which is the active

Re: [python-win32] question about pywin32 and COM event again

2005-12-09 Thread Laurent Dufréchou
wccppp a écrit : > Hello, > > I'm learning to use python to automate AutoCAD and I was able to catch > the AutoCAD application event using the code below. But I don't know > if I can catch the event from the active document (or drawing) or > not. The AutoCAD.Application has a property of "Active

[python-win32] How do I post and reply message at any time?

2005-12-09 Thread wccppp
Hello,This must be a stupid question.  But I haven't found the answer for quite a while.  Here is the problem:I posted a question today and Laurent Dufréchou's response answered my question.  I wanted to reply and say Thank you.  But it seems I have to wait till tomorrow when I receive the daily di