Sign in to follow this  
Followers 0
lbw87

_FFWindowOpen/_FFOpenURL invalid URL issue

8 posts in this topic

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

Share this post


Link to post
Share on other sites



anyone have any ideas?

Share this post


Link to post
Share on other sites

#3 ·  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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

nope...no go even with the deletion

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