Thomas, thanks for your help. Everything seemed to work except when I
needed to pass my com object to another com function to receive
callbacks
> > o=myComObjClass()
> > otherDispatchedComObject.FunctionThatNeedsInterface(o, otherInputs)
The other dispatched com object was created using win32com
Todd Dolinsky wrote:
> Hi everyone -
>
> I'd like to write a script that can return a list of users/groups that
> have a given privilege. After researching a bit I found the
> win32security.Lsa* functions from the newest Python 2.* releases to be
> exactly what I'm looking for. The problem is th
Ray Schumacher wrote:
> Upon further tries, I can get handles, DCs, and/or Win32 BMPs from
> the desktop, but I can't get to a DIB from there.
>
> Can someone outline the general process that might be required?
> Ie.,
> get window handle
> create in/out DCs
> select bmp to outDC
> blit inDC data
Check this post:
http://mail.python.org/pipermail/python-win32/2003-June/001129.html
win32gui.EnumWindows(_MyCallback, windows)
for i in windows:
if
win32gui.IsWindowVisible(i):
if
win32gui.IsWindowVisible:
windowsText.append(i)
Hello list,
I'm trying to come up with a script that will take a screenshot of
internet exploder, (for IE automated unittest script for web
development) but having trouble drilling fown to the dc of the control.
It looks like I the control that is needed is called "Internet
Explorer_Server" in
Upon further tries, I can get handles, DCs, and/or Win32 BMPs from
the desktop, but I can't get to a DIB from there.
Can someone outline the general process that might be required?
Ie.,
get window handle
create in/out DCs
select bmp to outDC
blit inDC data
I tried emulating a nice IronPython exa
Wu, Huaxing (STP) wrote:
> Thanks for trying out and fix the typo (Outlook loves to capitalize
> the first letter)
>
> My environment is Windows 2000, and I was running from Eclipse.
> To follow your example, I tried to run them from command prompt, and I got
> C:\temp\x>aa.py
> in C:\temp\x\aa.p
James Matthews wrote:
> PYPY would help because it is said to compile python programs what i
> would also recommend is prex and pysco
Your suggestions are all about deployment and optimization. They don't
particularly address the OP's problem.
--
Tim Roberts, [EMAIL PROTECTED]
Providenza & Boek
James Matthews wrote:
> Can you just call a GUI api that interfaces directly with the graphics
> card?
That's exactly what BitBlt is. The simple fact is that desktop images
these days are HUGE. The device-to-memory path is not the most
optimized path in a graphics chip. It just takes time to sn
James Matthews wrote:
> Try Exec with the file handle
The problem with that suggestion is that "exec" executes the new script
in the same process, using the same namespaces. In that case, you might
as well use "import".
I'm assuming the OP had some reason for wanting to spawn separate processes.
Thanks for trying out and fix the typo (Outlook loves to capitalize the
first letter)
My environment is Windows 2000, and I was running from Eclipse.
To follow your example, I tried to run them from command prompt, and I
got
C:\temp\x>aa.py
in C:\temp\x\aa.py
in C:\temp\x\bb.py
in C:\temp\x\cc.py
Hi everyone -
I'd like to write a script that can return a list of users/groups that
have a given privilege. After researching a bit I found the
win32security.Lsa* functions from the newest Python 2.* releases to be
exactly what I'm looking for. The problem is that the application I
am writing f
comtypes seems to gain some attention (comtypes is a pure Python, lightweight
COM client and server framework, based on the ctypes Python FFI package.)
I'll try to release a new version over the next days.
However, I'm wondering what would be the correct list to discuss this package...
- the pyt
johnny loops schrieb:
> Thanks, these references are really helpful, and I think I understand
> a lot more of the path using comtypes. Continuing with my pseudo code
> example-- this is what I think I should do:
>
> -run GetModule() on the library, which should create the interface foo
Yes.
> -
14 matches
Mail list logo