Re: [Tutor] making aaa.txt in notepad focused.

2007-07-12 Thread Bill Burns
elis aeris wrote: > is it possible to do patial window title? Partial window title? ;-) Sure, have a look at this thread: http://aspn.activestate.com/ASPN/Mail/Message/python-win32/3012629 and take a look at pywinauto, as well: http://sourceforge.net/projects/pywinauto https://lists.sourceforg

Re: [Tutor] making aaa.txt in notepad focused.

2007-07-11 Thread elis aeris
is it possible to do patial window title? ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] making aaa.txt in notepad focused.

2007-07-11 Thread Bill Burns
elis aeris wrote: > import time > from ctypes import * > > # Load up the Win32 APIs we need to use. > GetForegroundWindow = windll.user32.GetForegroundWindow > > > foreground_window = GetForegroundWindow() > > > > > > this is a part of a code I from a separate project. > > > I am trying t

[Tutor] making aaa.txt in notepad focused.

2007-07-11 Thread elis aeris
import time from ctypes import * # Load up the Win32 APIs we need to use. GetForegroundWindow = windll.user32.GetForegroundWindow foreground_window = GetForegroundWindow() this is a part of a code I from a separate project. I am trying to find out it's possible to do this: handle = geso