Sign in to follow this  
Followers 0
Phasebook

Error on small script

4 posts in this topic

#1 ·  Posted (edited)

Hi there!

I have problem with this script:

#Include <FF.au3>
#Include <Misc.au3>
$Search="CLICK"
$i=1
If  _FFConnect(Default, Default, 3000) Then
    _FFOpenURL("<here is an url to a site>")
While _FFIsConnected()
MouseMove ( 200, 150)
MouseMove ( 200, 650)
If Mod( $i, 100) = 0 Then
    Mouseclick ("left", 830, 120)
    sleep(3000)
    EndIf
If Mod( $i, 60) = 0 Then
            MouseClick ( "left", 500, 470)
        MouseClick ( "left", 500, 395)
        MouseClick ( "left", 490, 55)
        MouseClick ( "left", 864, 20)
    EndIf
    If _FFSearch($Search) Then
        
        MouseClick ( "left", 500, 470)
        MouseClick ( "left", 500, 395)
        MouseClick ( "left", 490, 55)
        MouseClick ( "left", 864, 20)
        MouseMove ( 200, 150)
        MouseMove ( 200, 650)
        sleep (3000)
        EndIf
    $i=$i+1
        If _IsPressed("60") Then
            Exit
            EndIf
WEnd
EndIf
    Exit

First I want to say that I have the latest version Mozrepl,mozilla firefox and library for using firefox in autoit.

So when I start the program after a couple of minutes I reaceive this error:

Posted Image

I`ll apriciate if someone tells me why I receive this socket error and how can I fix it? ;)

Thank you in advance! :)

Edited by Phasebook

Share this post


Link to post
Share on other sites



Hello Phasebook

See all replies in

I've not tried the 'latest' versions, still using FireFox 3.6, waiting for someone else to say that v4 or 5 work with Mozrepl and FF.au3. If you get it working please post exact list of the versions you are using.

RichardL

Share this post


Link to post
Share on other sites

Hi :)

Welcome to the forums ;)

Last I checked, FF.au3 and MozRepl does not work with the latest Firefox ;)

Maybe you could downgrade to Firefox 3 or automate IE instead.

Hope this helps,

-smartee

Share this post


Link to post
Share on other sites

Problem solved!

It was working, but the problem was in my computer. After reinstall windows everything works perfect, thank you!

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