Jump to content

AutoIt running very slowly


Recommended Posts

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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...