06-05-2008, 10:30 PM
okay i am making a combo that gets all the Instant Messages names and puts them into it
but the problem is that the code keeps getting ALL windows open and putting them into it
I would like to know if anyone could fix the code to only get windows with the name
"Instant Message" in them
Thanks
Here is the code
im not sure if in the 7th line the "Instant Message" is even suppossed to be there
Thanks
but the problem is that the code keeps getting ALL windows open and putting them into it
I would like to know if anyone could fix the code to only get windows with the name
"Instant Message" in them
Thanks
Here is the code
ARRAY(int) a
GetWindowList 0 0 1|4 0 0 a
int i
int h
for i 0 a.len
,h=a[i]
,if(h=win("Instant Message")) continue
,str s.getwintext(h)
,int dd=id(3 "Form")
,SendMessage dd i 0 0
,SendMessage dd CB_ADDSTRING 0 s
im not sure if in the 7th line the "Instant Message" is even suppossed to be there
Thanks