Kreatorul Posted April 24, 2006 Posted April 24, 2006 Helo guys, I'm noob in autoIt, so here is a simple question When I get the title of a window using WinGetTitle, how can i use that title for WinWaitActive, so Winwaitactive could use the exact name of the window.
Moderators SmOke_N Posted April 24, 2006 Moderators Posted April 24, 2006 Helo guys, I'm noob in autoIt, so here is a simple question When I get the title of a window using WinGetTitle, how can i use that title for WinWaitActive, so Winwaitactive could use the exact name of the window.Do you have any part of the title that you are going to need? Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
elgabionline Posted April 24, 2006 Posted April 24, 2006 Helo guys, I'm noob in autoIt, so here is a simple question When I get the title of a window using WinGetTitle, how can i use that title for WinWaitActive, so Winwaitactive could use the exact name of the window. You should capture info with a variable $Title=WinGetTitle ("Some window...") ClipPut ($Title); Put full window title in Clipboard. CTRL+V to get this text. Exit
Kreatorul Posted April 24, 2006 Author Posted April 24, 2006 (edited) 10x a lot, ur ideea is good, but I'm tryin' to make something like an robot for Y!M. That's why I need to get the curent window name, and then send a message. I tried the simple way: WinWaitActive ("Instant Message") Send ("Hello{ENTER}") Instant message is a part of any Y!M conversation window, but it doesen't work. I tried this way to: $Title=WinGetTitle ("Instant Message") WinWaitActive ($Title) Send ( "Hello{ENTER}" ) Any ideas how to recognize the curent conversation window... If I put instead of Instant Message, the other part of the windows title(something like Alissya, Mary etc) it works, but I have to write everyones name in the script.... Edited April 24, 2006 by Kreatorul
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now