Mike Driscoll wrote:
Hi,
I am trying to get a handle on an external process (Internet Explorer 6 in
this case) that I open using win32process. I need the handle so that I can
make said process the top window. Here's what I've tried so far:
code
import win32process
import win32gui
hi, here is my script:
import win32con
import time
import wmi
c = wmi.WMI()
for process in c.Win32_Process(name = notepad.exe):
print process.ProcessId, process.Name
process.Terminate ()
when I have only one notepad.exe process in my system, this works fine,
but when I have more than
thunder thunder54007 wrote:
hi, here is my script:
import win32con
import time
import wmi
c = wmi.WMI()
for process in c.Win32_Process(name = notepad.exe):
print process.ProcessId, process.Name
process.Terminate ()
when I have only one notepad.exe process in my system, this
. wrote:
I got the interface name from win32util.browse() in Vista and XP. I think XP
is Giving me the wrong number because it differs from what I'm reading in
perfmon everytime and it seems to be counting down from that number after
every subsequent call.
ex: perfmon will give me a last of
1.Export emails from msoutlook to my local directory
The problem i am facing is that the embedded images are
getting as attachments
Any body help me to solve this problem.
Antony
___
python-win32 mailing list
python-win32@python.org
Hi,
Maya python command layoutDialog, in my view works strange. It
takes the procedure from MEL equivalent if exists else gives an error.
How may I successfully execute a layoutDialog in python in maya.
BRgds,
kNish
___
python-win32 mailing
Tim,
Mike Driscoll wrote:
I am trying to get a handle on an external process (Internet Explorer
6 in
this case) that I open using win32process. I need the handle so that I
can
make said process the top window.
When you call CreateProcess, that window should automatically become the
Alec,
Date: Tue, 22 Jan 2008 23:26:50 -0800 (PST)
From: Alec Bennett [EMAIL PROTECTED]
Subject: Re: [python-win32] Creating a process and getting a handle
To: Tim Roberts [EMAIL PROTECTED], Python-Win32 List
python-win32@python.org
Message-ID: [EMAIL PROTECTED]
Content-Type:
Hi Tim G.,
snipped for brevity
I can get the handle by doing this:
hwnd = win32gui.FindWindow('IEFrame',None)
But if there's multiple Explorer windows open, I may not get the
window I want. That's why I would like to create my own so
I can have
what amounts to an exclusive
. wrote:
I got the interface name from win32util.browse() in Vista and XP. I
think XP is Giving me the wrong number because it differs from what
I'm reading in perfmon everytime and it seems to be counting down from
that number after every subsequent call.
ex: perfmon will give me a last
Antony Joseph wrote:
1.Export emails from msoutlook to my local directory
The problem i am facing is that the embedded images are
getting as attachments
Of course, because that's exactly how they are sent. What did you
expect? Email is a textual media. There's no such thing as an
kNish wrote:
Maya python command layoutDialog, in my view works strange. It
takes the procedure from MEL equivalent if exists else gives an error.
How may I successfully execute a layoutDialog in python in maya.
This is a Maya question, so you should ask on a Maya mailing list. My
. wrote:
That works for XP but not Vista, I guess M$ changed the API in Vista.
Oh by the way I mean to write win32pdhutil.browse() earlier. Thanks
for the help.
I didn't run it as admin in Vista before so I gave your script a try.
The output from your script as run in vista by
- Original Message -
Tim Roberts wrote:
Now, you know that Current Bandwidth is not what you want, right?
This just shows it is a 100Mbit connection.
Yes I am, win32pdhutil.browse() won't report anything for Bytes Received,
Sent, or Total so I used Current Bandwidth.
It's a 32-bit
. wrote:
- Original Message -
Tim Roberts wrote:
Now, you know that Current Bandwidth is not what you want, right?
This just shows it is a 100Mbit connection.
Yes I am, win32pdhutil.browse() won't report anything for Bytes Received,
Sent, or Total so I used Current
15 matches
Mail list logo