Scorputer Posted September 30, 2009 Share Posted September 30, 2009 Hi, I'm using AutoIT and FF.AU3 to set my homepage to multiple tabs, then launch Firefox to see how fast the pages load simultaneously. Setting the homepage works fine, using "|" between each URL. The problem comes in when I try to launch Firefox. Every time I invoke "_FFAction("home"), I'm taken to Mozilla.org. It doen't matter if I have my homepage set to a single or multiple URLs. If I stop the script and click the "Home" button, I get the expected result - the browser opening my homepage(s). Is this a bug in FF.AU3 or Firefox? Here is the code that I use to launch Firefox. _FFStart() _FFAction("home") ;_FFOpenURL($homeurl) $TabLoadTime = @extended&" ms" _FFQuit() Link to comment Share on other sites More sharing options...
Stilgar Posted September 30, 2009 Share Posted September 30, 2009 (edited) I'm using AutoIT and FF.AU3 to set my homepage to multiple tabs, then launch Firefox to see how fast the pages load simultaneously. Setting the homepage works fine, using "|" between each URL. The problem comes in when I try to launch Firefox. Every time I invoke "_FFAction("home"), I'm taken to Mozilla.org. It doen't matter if I have my homepage set to a single or multiple URLs. If I stop the script and click the "Home" button, I get the expected result - the browser opening my homepage(s). Is this a bug in FF.AU3 or Firefox? Hmm the description on the Mozilla Developer Center seems to be a little bit incorrect - or I misunderstand this:https://developer.mozilla.org/en/XUL/Method/goHomeI change this in the next version of the FF.au3.But you can do instead of _FFaction("home") this: _FFCmd("BrowserHome()") Edited September 30, 2009 by Stilgar jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
Scorputer Posted October 1, 2009 Author Share Posted October 1, 2009 (edited) Hmm the description on the Mozilla Developer Center seems to be a little bit incorrect - or I misunderstand this:https://developer.mozilla.org/en/XUL/Method/goHomeI change this in the next version of the FF.au3.But you can do instead of _FFaction("home") this: _FFCmd("BrowserHome()")Thanks for the quick and informative reply! I implemented your suggestion. The code now works as expected - the browser opens up my tabs. However, the problem I have now is that I don't know how to get the load time for this operation. I'd appreciate any suggestions you may have. Edited October 1, 2009 by Scorputer Link to comment Share on other sites More sharing options...
Stilgar Posted October 1, 2009 Share Posted October 1, 2009 Thanks for the quick and informative reply! I implemented your suggestion. The code now works as expected - the browser opens up my tabs. However, the problem I have now is that I don't know how to get the load time for this operation. I'd appreciate any suggestions you may have.Just add a _FFLoadWait() after it. jEdit4AutoIt PlanMaker_UDF 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