Jump to content

Recommended Posts

Posted

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
Posted (edited)

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
Posted

yes I'm using mozrepl.xpi

ffstart still gives me an invalid url

it doesn't seem to like that theres no "www." in the url

any ideas?

Posted

etime: is it a domain?? If You are using the localhost use localhost instead etime. Maybe FF checks the url in strange ways. Does it work when used directly in the browser?

Posted

etime is a timecard html page...its on a domain and yes it works when i paste the url directly into a browser

  • 2 weeks later...
Posted

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.

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
×
×
  • Create New...