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:
>
>
>
> 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 o
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 sys
>.> 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 la
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
[email protected]
http://mail.python
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 li
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 th
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
>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; char
Hi Tim G.,
> > 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" hand
>.> 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
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 emb
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.
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 administrator follows:
[code]
>.> 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 admini
- 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
>.> 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
16 matches
Mail list logo