Posts: 160
Threads: 43
Joined: Sep 2007
Acc a=acc("1*" "LISTITEM" win("Yahoo! Messenger" "YahooBuddyMain") "id=101" "" 0x1031)
str w1=a.Name
Acc b=acc("2*" "LISTITEM" win("Yahoo! Messenger" "YahooBuddyMain") "id=101" "" 0x1031)
str w2=b.Name
Acc c=acc("3*" "LISTITEM" win("Yahoo! Messenger" "YahooBuddyMain") "id=101" "" 0x1031)
str w3=c.Name
Acc d=acc("4*" "LISTITEM" win("Yahoo! Messenger" "YahooBuddyMain") "id=101" "" 0x1031)
str w4=d.Name
Acc e=acc("5*" "LISTITEM" win("Yahoo! Messenger" "YahooBuddyMain") "id=101" "" 0x1031)
str w5=e.Name
str w6=(w1+w2+w3+w4+w5)
out w6
im trying to join all 5 with a space between each if possible, or without a space is fine, or even a newline would do.
Posts: 160
Threads: 43
Joined: Sep 2007
Acc a=acc("1*" "LISTITEM" win("Yahoo! Messenger" "YahooBuddyMain") "id=101" "" 0x1031)
str w1=a.Name
Acc b=acc("2*" "LISTITEM" win("Yahoo! Messenger" "YahooBuddyMain") "id=101" "" 0x1031)
str w2=b.Name
Acc c=acc("3*" "LISTITEM" win("Yahoo! Messenger" "YahooBuddyMain") "id=101" "" 0x1031)
str w3=c.Name
Acc d=acc("4*" "LISTITEM" win("Yahoo! Messenger" "YahooBuddyMain") "id=101" "" 0x1031)
str w4=d.Name
Acc e=acc("5*" "LISTITEM" win("Yahoo! Messenger" "YahooBuddyMain") "id=101" "" 0x1031)
str w5=e.Name
str w6=(w1)
w6+" "
w6+w2
w6+" "
w6+w3
w6+" "
w6+w4
w6+" "
w6+w5
out w6
sorry got it ty
Posts: 1,769
Threads: 410
Joined: Feb 2003
it might be easier to use the 'from' string function as well.
str a
a.from(str1 " " str2 " " str3)
etc.