lbw87 Posted June 15, 2010 Share Posted June 15, 2010 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 More sharing options...
lbw87 Posted June 16, 2010 Author Share Posted June 16, 2010 anyone have any ideas? Link to comment Share on other sites More sharing options...
uppercode Posted June 17, 2010 Share Posted June 17, 2010 (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 June 17, 2010 by uppercode Link to comment Share on other sites More sharing options...
lbw87 Posted June 17, 2010 Author Share Posted June 17, 2010 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? Link to comment Share on other sites More sharing options...
quercus Posted June 23, 2010 Share Posted June 23, 2010 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? Link to comment Share on other sites More sharing options...
lbw87 Posted June 25, 2010 Author Share Posted June 25, 2010 etime is a timecard html page...its on a domain and yes it works when i paste the url directly into a browser Link to comment Share on other sites More sharing options...
Naem Posted July 8, 2010 Share Posted July 8, 2010 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 More sharing options...
lbw87 Posted July 13, 2010 Author Share Posted July 13, 2010 nope...no go even with the deletion Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now