07-31-2006, 11:00 AM
Hi - QM n00b here
I have created a text input, and I want the person to input the name of a contact on their Yahoo (or MSN) contact list. This will then open up an Instant message, etc etc. I have yet to be able to get a handle on a list item to double click it, but I can do everything else.
Here is what I have so far:
Obviously this wont work, but I want String r to be the contact name so I can double click (or fire the event) so it opens up the IM window. At the moment, I have manually entered the co-ordinates for the mouse, in the line. This I want replaced with the Acc lines to get it automatically.
Any help will be VERY appreciated.
Many thanks,
Matt H
PS - Just tried doing the following:
and both strings, z & s have nothing in them.

I have created a text input, and I want the person to input the name of a contact on their Yahoo (or MSN) contact list. This will then open up an Instant message, etc etc. I have yet to be able to get a handle on a list item to double click it, but I can do everything else.
Here is what I have so far:
run "C:\Program Files\Yahoo!\Messenger\YahooMessenger.exe" "" "" "C:\Program Files\Yahoo!\Messenger"
double F=1.0; spe 10
int w1=act(win("Yahoo! Messenger with Voice (BETA)" "YahooBuddyMain"))
str r
str p = " - Instant Message"
inp r "yahoo ID"
p - r
dou 90 237 w1
Acc a=acc(r "LISTITEM" w1 "SysListView32" "" 0x1405)
str s=a.Description
out s
int w2=act(win(p "YSearchMenuWndClass"))
key Cg
key "goodbye, thank you."
key Y
clo w2
Obviously this wont work, but I want String r to be the contact name so I can double click (or fire the event) so it opens up the IM window. At the moment, I have manually entered the co-ordinates for the mouse, in the line. This I want replaced with the Acc lines to get it automatically.
Any help will be VERY appreciated.
Many thanks,
Matt H
PS - Just tried doing the following:
and both strings, z & s have nothing in them.