Syntaxe Posted November 25, 2007 Share Posted November 25, 2007 If you take a look at the code, everything looks fine. But if you try it your own, you will see the error, i guess. ; Script Variables $UN = "something@anything.nothing" $PS = "passthing" ; Script Code If ProcessExists("msnmsgr.exe") Then ProcessClose("msnmsgr.exe") Opt("WinTitleMatchMode", 2) Run("C:\Program Files\Windows Live\Messenger\msnmsgr.exe") WinWaitActive("Windows Live Messenger") Send($UN & "{tab}") Send($PS & "{enter}") WinWaitActive("Windows Live Messenger") If WinActive("Windows Live Messenger", "Error code") Then MsgBox(64,"Error","It seams to be an error :(") If WinActive("Windows Live Messenger", "Online") Then MsgBox(64,"Success!","Success! The script autologged you into Windows Live Messenger") Link to comment Share on other sites More sharing options...
Kiesp Posted November 25, 2007 Share Posted November 25, 2007 (edited) If you take a look at the code, everything looks fine. But if you try it your own, you will see the error, i guess. Run("C:\Program Files\Windows Live\Messenger\msnmsgr.exe")i dont use live messenger.. but i think i found a (maybe the?) problem.. write Run("C:\Program Files\Windows Live Messenger\msnmsgr.exe") instead Edited November 25, 2007 by Kiesp http://www.autoitscript.com/forum/index.php?showtopic=69911 <-- Best hacker ever :D Link to comment Share on other sites More sharing options...
JustinReno Posted November 25, 2007 Share Posted November 25, 2007 What is the error? Link to comment Share on other sites More sharing options...
JustinReno Posted November 25, 2007 Share Posted November 25, 2007 What is the error? Link to comment Share on other sites More sharing options...
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