Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
activating windows with dynamic name
#1
I need to activate windows which have dynamic names.  

The names vary second by second and are not static the xyz and abc middle parts keeps changing but the start and end of the window name is static

eg.

window 1 name="test xyz blue"
window 2 name="test abc black"

so if I want to activate window 1 I need some sort of wildcard match like

act(win("test WILDCARD blue"))

I cannot use act(win("test")) as this may activate window 2 and I prefer not to use

int a=win("test xyz blue")
act a

Can I activate a window using a string name with a wildcard in the middle - if so how please?


Messages In This Thread
activating windows with dynamic name - by mancunian - 02-06-2019, 03:27 PM
RE: activating windows with dynamic name - by r0n - 02-11-2019, 05:07 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)