Sign in to follow this  
Followers 0
fearfulastra

AutoIt running very slowly

4 posts in this topic

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



#3 ·  Posted (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 by AndyG

Share this post


Link to post
Share on other sites

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

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  
Followers 0