how should i use this function?

2008-06-04 Thread Gandalf
http://aspn.activestate.com/ASPN/docs/ActivePython/2.2/PyWin32/PyCRichEditCtrl__GetSelText_meth.html GetSelText() I tried to import win32ui.PyCRichEditCtrl, But the shell told me their's no such module. If anyone can show me an example it would be great Thanks! --

Re: how should i use this function?

2008-06-04 Thread sturlamolden
On Jun 4, 8:14 pm, Gandalf [EMAIL PROTECTED] wrote: I tried to import win32ui.PyCRichEditCtrl, But the shell told me their's no such module. There isn't, as it is a class. win32ui is a module. If you cannot import that, you don't have pywin32 installed. Go get it from Sourceforge. --

Re: how should i use this function?

2008-06-04 Thread Gandalf
On Jun 4, 8:21 pm, sturlamolden [EMAIL PROTECTED] wrote: On Jun 4, 8:14 pm, Gandalf [EMAIL PROTECTED] wrote: I tried to import win32ui.PyCRichEditCtrl, But the shell told me their's no such module. There isn't, as it is a class. win32ui is a module. If you cannot import that, you don't

Re: how should i use this function?

2008-06-04 Thread David C. Ullrich
In article [EMAIL PROTECTED], Gandalf [EMAIL PROTECTED] wrote: On Jun 4, 8:21 pm, sturlamolden [EMAIL PROTECTED] wrote: On Jun 4, 8:14 pm, Gandalf [EMAIL PROTECTED] wrote: I tried to import win32ui.PyCRichEditCtrl, But the shell told me their's no such module. There isn't, as it

Re: how should i use this function?

2008-06-04 Thread Gandalf
On Jun 4, 11:46 pm, David C. Ullrich [EMAIL PROTECTED] wrote: In article [EMAIL PROTECTED], Gandalf [EMAIL PROTECTED] wrote: On Jun 4, 8:21 pm, sturlamolden [EMAIL PROTECTED] wrote: On Jun 4, 8:14 pm, Gandalf [EMAIL PROTECTED] wrote: I tried to import win32ui.PyCRichEditCtrl, But

Re: how should i use this function?

2008-06-04 Thread Mark
On Jun 4, 6:58 pm, Gandalf [EMAIL PROTECTED] wrote: But I pywin32 use it all the time i havepywinauto As the author of pywinauto - I can safely say that just because you have and use pywinauto does NOT mean you have pywin32. pywin32 is not needed for pywinauto. (it uses ctypes to access what

Re: how should i use this function?

2008-06-04 Thread alex23
On Jun 5, 4:14 am, Gandalf [EMAIL PROTECTED] wrote: I tried to import win32ui.PyCRichEditCtrl, But the shell told me their's no such module. If anyone can show me an example it would be great For starters, you're looking at the documentation for ActivePython 2.2 rather than 2.5. Do you know