fearfulastra 0 Posted April 13, 2010 Hey Everyone, I just switched my AutoIt scripts from my 4 year old laptop to a 6 year old Desktop. The laptop is a Intel Core Duo 1.6ghz Dell with 1 gig of RAM. The desktop is a single core 3.4ghz Pentium 4 with 1 gig of RAM. They're both running Windows XP. The problem is, the desktop runs very, very slowly. For instance, this: #include <FF.au3> $URLfile = FileOpen("ColumbiaURLS2.txt", 0) $datefile = FileOpen("Columbiadates.txt", 0) $docketfile = FileOpen("Columbiadockets.txt", 0) $titlefile = FileOpen("Columbiatitles.txt", 0) $URL = "" $date = "" $docket = "" $filename = "" $title = "" AutoItSetOption ("WinTitleMatchMode", 2) _FFStart("http://128.252.251.102/complawAdmin/complaw/index.php") Sleep (300) MouseClick("left", 1070, 250, 1, 1) Send("{TAB}") Sleep(500) Send("USERNAME{TAB}") Sleep(500) Send("PASSWORD{TAB}{SPACE}") _FFLoadWait() If NOT _FFOpenURL ("http://128.252.251.102/complawAdmin/complaw/index.php?rt=cases/setCountry/48", True) Then MsgBox ( 64, "" , "Cannot Open Comparative Law Project, Columbia Page") Exit() EndIf ...takes about 20 seconds on the laptop, and well over 5 minutes on the desktop. It opens up firefox readily enough, but then it just hangs. The text files are only 80kb max. I tried pulling back to the version on my laptop, the latest stable, and the latest beta. Nothing doing. Any ideas about what's going on? PS) I attached the whole file.Down&UpColumbia.au3 Share this post Link to post Share on other sites
JohnOne 1,603 Posted April 13, 2010 This part alone takes five minutes For $k = 1 to 1208 Step 1 Sleep (300) and there are tons more sleeps inside your loop, you should look there. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Share this post Link to post Share on other sites
AndyG 49 Posted April 13, 2010 (edited) Are you sure to have installed the Mozrepl in FireFox (at Desktop-PC) which is used by the FF.AU3? Btw, the Snippet runs perfectly on my machine..... Edited April 13, 2010 by AndyG Share this post Link to post Share on other sites
fearfulastra 0 Posted April 13, 2010 Are you sure to have installed the Mozrepl in FireFox (at Desktop-PC) which is used by the FF.AU3? Btw, the Snippet runs perfectly on my machine.....I totally forgot about the Mozrepl. That was it. Thanks a lot.I feel silly. Share this post Link to post Share on other sites