Syntaxe Posted December 28, 2007 Posted December 28, 2007 Hello folks! I am using the client aMSN, not the normal MSN live client. Anyways. Here is what I got to now. The script is made to logon, and add the contact typed in $contact. The thing is that it doesn't work Please help me if you can $contact = inputbox($fTitle,$fContent & " ",$fContent2,"",$fLenght,$fHight) Run("C:\Program Files\aMSN\amsn.exe") WinWaitActive("aMSN - Offline") Send($mail1User) Send("{tab}") Send($mail1Pass) Send("{enter}") Send("!c" & "{enter}") Send($contact & "{enter}")
herewasplato Posted December 28, 2007 Posted December 28, 2007 What does not work? Does the application start? Does the WinWaitActive line work? Does the script send the value of $mail1User? Does the first tab work? Does the script send the value of $mail1Pass? Does the "ENTER" work? Does the script need a delay or a WinWait to determine if you are logged in before you attempt to send the Ctrl-c? ???? [size="1"][font="Arial"].[u].[/u][/font][/size]
Syntaxe Posted December 28, 2007 Author Posted December 28, 2007 Yes, the main problem is to get it wait until I am online before continuing. How do I make that wait thingy?
herewasplato Posted December 28, 2007 Posted December 28, 2007 ....... WinWaitActive("aMSN - Offline") Send($mail1User) Send("{tab}") Send($mail1Pass) Send("{enter}") WinWaitActive("aMSN - Logged in????") <---- change the title info Send("!c" & "{enter}") Send($contact & "{enter}") [size="1"][font="Arial"].[u].[/u][/font][/size]
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