Jump to content

_FFWindowOpen/_FFOpenURL invalid URL issue


Recommended Posts

I'm having all sorts of problems with this code below just simply trying to open this url. I'm on a domain, so the url is valid. I can get to the webpage manually, though running it through autoit FF.au3 fails and says:

_FFWindowOpen ==> Invalid data type: (URL) $sURL: http://etime/wfc/logon/logonWFC.html

_FFOpenURL ==> Invalid data type: (URL) $sURL: http://etime/wfc/logon/logonWFC.html

I'm using _FF version 0.6.0.0b-5. I've tried different valid variations of the url and still can't get it to work...anyone have any ideas?

If _FFConnect () Then
    _FFWindowOpen("http://etime/wfc/logon/logonWFC.html")
    _FF_AutoLogin("user","pass", "http://etime/wfc/logon/logonWFC.html")
EndIf
Link to comment
Share on other sites

may be try

_FFStart("http://...../")

and than your code

If _FFConnect () Then

_FFWindowOpen("http://etime/wfc/logon/logonWFC.html")

_FF_AutoLogin("user","pass", "http://etime/wfc/logon/logonWFC.html")

EndIf

and you use mozrepl.xpi???

Edited by uppercode
Link to comment
Share on other sites

  • 2 weeks later...

I was just having this problem as well. If you go to FF.au3 and then delete(around line 2350):

If Not __FFCheckURL($sURL) Then
        SetError(__FFError($sFuncName, $_FF_ERROR_InvalidDataType, "(URL) $sURL: " & $sURL))
        Return 0
    EndIf

Then it doesnt check to make sure that your web addresses start with www. So then it should work.

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...