Sign in to follow this  
Followers 0
Cherries

Funcion REPEAT

3 posts in this topic

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 :)

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Use "Run()" instead of your Send-construct. :)

Edited by BugFix

Best Regards BugFix  

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