Jump to content
Sign in to follow this  
Syntaxe

MSN Login and Add script

Recommended Posts

Syntaxe

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 :P

$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}")

Share this post


Link to post
Share on other sites
herewasplato

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]

Share this post


Link to post
Share on other sites
JustinReno
:)

Share this post


Link to post
Share on other sites
Syntaxe

Yes, the main problem is to get it wait until I am online before continuing.

How do I make that wait thingy?


Share this post


Link to post
Share on other sites
herewasplato

.......

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]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×