ripken204 Posted February 12, 2005 Share Posted February 12, 2005 i have a problem,the top half of this code works, but after the space i put in, the code does not even start, why? Run("AIM.exe") WinWaitActive("AOL Instant Messenger Software License Agreement", "&Yes") Send("!y") Sleep(1000) WinWaitActive("AOL Instant Messenger Installation", "&Next >") Send("!n") WinWaitActive("AOL Instant Messenger Install Components", "&Next >") Sleep(1000) ControlClick("AOL Instant Messenger Install Components", "", "AIM Games Support (powered by WildTangent)") Sleep(1000) ControlClick("AOL Instant Messenger Install Components", "", "AIM WeatherBug (powered by WeatherBug)") Sleep(1000) ControlClick("AOL Instant Messenger Install Components", "", "AIM Pop Up Blocker") Sleep(1000) Send("!n") WinWaitActive("AOL Instant Messenger Installation", "&Next >") Send("!n") Sleep(1000) WinWaitActive("AOL Instant Messenger Installation", "&Next >") ControlClick("AOL Instant Messenger Installation", "", "I'm permanently connected through a LAN.") Sleep(1000) Send("!n") WinWaitActive("AOL Instant Messenger Installation", "&Next >") ControlClick("AOL Instant Messenger Installation", "", "Make Netscape.com my homepage.") Sleep(1000) MouseClick("left", 450, 350, 1) Sleep(1000) Send("14612") Send("!n") Sleep(1000) WinWaitActive("AOL Instant Messenger Installation", "&Next >") ControlClick("AOL Instant Messenger Installation", "", "Install AIM icon to desktop") Sleep(1000) ControlClick("AOL Instant Messenger Installation", "", "Install AIM icons to Start Menu") Sleep(1000) ControlClick("AOL Instant Messenger Installation", "", "Install AIM icon to Quick Launch toolbar") Sleep(1000) Send("!n") WinWaitActive("AOL Instant Messenger Installation", "&Next >") Sleep(1000) Send("!n") Sleep(1000) ProcessClose("aim.exe") $PID = ProcessExists("aim.exe") If $PID Then ProcessClose($PID) Sleep(1000) Run("AIMAdHack.exe") WinWaitActive("Setup - Aim Ad Hack 3.68 for AIM version 5.9.3702", "&Next >") Send("!n") Sleep(1000) WinWaitActive("Setup - Aim Ad Hack 3.68 for AIM version 5.9.3702", "&Next >") Send("!n") Sleep(1000) WinWaitActive("Setup - Aim Ad Hack 3.68 for AIM version 5.9.3702", "&Install") Send("!i") Sleep(1000) WinWaitActive("Setup - Aim Ad Hack 3.68 for AIM version 5.9.3702", "&Next >") Send("!n") Sleep(1000) WinWaitActive("Setup - Aim Ad Hack 3.68 for AIM version 5.9.3702", "&Next >") ControlClick("Setup - Aim Ad Hack 3.68 for AIM version 5.9.3702", "", "I &accept the agreement") Send("!n") Sleep(1000) WinWaitActive("Setup - Aim Ad Hack 3.68 for AIM version 5.9.3702", "&Next >") Send("!n") Sleep(1000) WinWaitActive("Setup - Aim Ad Hack 3.68 for AIM version 5.9.3702", "&Next >") Send("!n") Sleep(1000) WinWaitActive("Setup - Aim Ad Hack 3.68 for AIM version 5.9.3702", "&Next >") Send("!n") Sleep(1000) WinWaitActive("Setup - Aim Ad Hack 3.68 for AIM version 5.9.3702", "&Install") Send("!i") Sleep(1000) WinWaitActive("Setup - Aim Ad Hack 3.68 for AIM version 5.9.3702", "&Finish") ControlClick("Setup - Aim Ad Hack 3.68 for AIM version 5.9.3702", "", "run AIM") Sleep(1000) Send("!f") Link to comment Share on other sites More sharing options...
therks Posted February 12, 2005 Share Posted February 12, 2005 I don't understand this bit. ProcessClose("aim.exe") $PID = ProcessExists("aim.exe") If $PID Then ProcessClose($PID) Why do you need the first line? Other than that I don't necessarily see a reason it shouldn't run. My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
ripken204 Posted February 12, 2005 Author Share Posted February 12, 2005 i did that and the other programs go on but about a minute early, how am i suppose to fix this? 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