Hi!
Below, a little code for set to foreground windows who have two
sub-string in their title.
@-salutations & sorry for my bad english.
--
Michel Claveau
# -*- coding: utf-8 -*-
import win32gui
def win_premierplan_h(h
Perfect!
Only issue will be varying possibilities of titles for windows explorer window,
but, can work around that.
Thanks
Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."
- Original Message -
From: Jim Bell
To: Jacob
Find and activate it by matching its window title.
import win32com.client
shell = win32com.client.Dispatch('WScript.Shell')
if shell.AppActivate('Explorer'): # put a better match here.
print 'Did it.'
On 2014-03-19 5:32 AM, Jacob Kruger wrote:
If, for example, I use something like following
If, for example, I use something like following command line call/command to
launch an instance of windows explorer, in a specific location, with a specific
file highlighted/selected, the issue is that it seems to, possibly be hovering
in background/not actually taking focus on my windows7 64 bi