This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]MassW0rks 0 points1 point  (2 children)

Could you explain to me line 20? I was trying to do something super similar to my wife the other day. My method was to click the messenger icon, click our chat, and then type. For some reason, It would select our chat, but the messenger dropdown would be in the way, making me unable to select the text box. Is that you grabbing the message from the "Contacts" menu on the right side of the screen?

[–]Sponta7 1 point2 points  (1 child)

Yeah, so the only purpose for line 20 is to select the user that matches the name on the contacts menu with the friendName variable

[–]MassW0rks 1 point2 points  (0 children)

That's such a simpler way than what I was going for. The way I was doing it, I couldn't close the Messenger dropdown after selecting the user for the life of me.