Jump to content

Recommended Posts

Posted

Hey all, I created simple script:

#Include <FF.au3>

If _FFConnect() Then
    If _FFOpenURL("file:///C:/Documents%20and%20Settings/user.USER-CE85E927AF/Desktop/as.html") Then
    $sStringToSearch = "My DashBoard"
    EndIf
    _FFLoadWait()
    If _FFSearch($sStringToSearch) Then
        MsgBox(0,"Found:", $sStringToSearch)
    Else
        Send("#r")
WinWaitActive("Run")
Send("C:\Documents and Settings\user.USER-CE85E927AF\Desktop\ok.au3{Enter}")
    EndIf

Else
    MsgBox(64,"Error","Can't connect to FireFox")
EndIf

And I am using as repeat this:

Else
        Send("#r")
WinWaitActive("Run")
Send("C:\Documents and Settings\user.USER-CE85E927AF\Desktop\ok.au3{Enter}")

Maybe there is any other solution? Something like:

Else
Reapeat

or something ;). THX :)

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
  • Recently Browsing   0 members

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