Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
mutiple windows with simuliar names
#11
ok i got it 2 work,but now i was wondering if there was a way 2 get the macro automatically assign these values 2 the windows =at[0]
str+ g_w2text=at[1] ect..
i can assign them but if the windows don't go as high as what i have assigned it errors

so what i would like 2 do is maybe use an array and assign each window found a str+ g_w1text value and then run a function.

i am calling functions using mac command so they can run at the same time
but i only want 2 call functions 4 the windows that wintest finds.
so like if 2 windows are found assing window 1 to str+ g_w1text and run function 1, ect.so it only assign the str+ g_w?text 2 the winodws found and then runs the a function 4 each 1
this is what i did
str+ g_w1text=at[0]
str+ g_w2text=at[1]
str+ g_w3text=at[3]
str+ g_w4text=at[4]
1
mac "Function8"
mac "Function9"
mac "Function10"
mac "Function11"
but this errors unless i have 4 windows open
can u help?


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)