Marcus Low wrote:
Bob,
Do you mean u want to control pythonwin ide itself as somekind of
automation?
Yes. I already accomplished my first goal based on what Mark told me, a
program to open, size & position 5 py file edit windows - something I
was doing by hand each time I started the IDE.
Bob,
Do you mean u want to control pythonwin ide itself as somekind of
automation?
Else whether its MFC or wxPython, those are for you to develop windows
native like apps where u get to do all those thing that u list.
If you want to control pythonwin, then its another story.
Marcus.
bob gail
Stef Mientki wrote:
bob gailer wrote:
How can I learn to "script" pythonwin?
I'd like to start with a script that would open an existing .py file
in an edit window, then do various things such as:
set the window size and position
scroll the text
position the cursor
size the "class" pane
Hi Mark, Tim,
thanks for the prompt responses.
Tim,
the code you suggest does not help me in this context, as it is not able to
'see' the HWND of the modal popup as an IE (ShellWindow) one. In fact, that
code is only able to get the main IE app window.
Mark,
I tried what you suggest, two wa
> How do I create a COM server that emulates the COM interface of MS
> Word? Specifically, returning this 'Documents' collection in what ever
> is the proper form.
That is a very tough question - I doubt many people are familiar enough with
the implementation details of Word to know for sure.
> M
>> If I can get an understanding of how these collections work on the
>> Python side vs the COM side, I'll be make some progress.
>
> So what is you question?
How do I create a COM server that emulates the COM interface of MS
Word? Specifically, returning this 'Documents' collection in what ever
i
bob gailer wrote:
How can I learn to "script" pythonwin?
I'd like to start with a script that would open an existing .py file
in an edit window, then do various things such as:
set the window size and position
scroll the text
position the cursor
size the "class" pane
position the splitter
> How can I learn to "script" pythonwin?
>
> I'd like to start with a script that would open an existing .py file in
> an edit window, then do various things such as:
> set the window size and position
> scroll the text
> position the cursor
> size the "class" pane
> position the splitte
How can I learn to "script" pythonwin?
I'd like to start with a script that would open an existing .py file in
an edit window, then do various things such as:
set the window size and position
scroll the text
position the cursor
size the "class" pane
position the splitter
Any pointers are
Hi Michel,
I am not sure what you are talking about. I suspect your referring to
the Microsoft Sapi 5 stuff, are you?
I am looking into the sapi 4 only for the extra voices. I do have a
working Sapi 5 model but have not done a dictionary list for it unless I use
the existing ones.
My
> With both the actual(MS Word) and simulated(my COM server)
> configurations, I am returned a generic COM object when trying to use
> the 'Documents' object.
>
> >>> w = Dispatch("Word.Application.8")
> >>> d = w.Documents
> >>> d
> >
>
> I think this relates to being late-bound. Anyway, whereas
11 matches
Mail list logo