Stilgar Posted February 23, 2009 Share Posted February 23, 2009 @trinitrotoluen: When you start FF with _FFStart? What kind of errors are the result? Dou you have an output from the editor-console? jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
trinitrotoluen Posted February 23, 2009 Share Posted February 23, 2009 It don't happen often, it show a error dialog box. I will snap it when I meet again. Link to comment Share on other sites More sharing options...
trinitrotoluen Posted February 23, 2009 Share Posted February 23, 2009 Are there anyway to block banner on the site ? Link to comment Share on other sites More sharing options...
Migrashin Posted February 24, 2009 Share Posted February 24, 2009 (edited) Hey Stilgar, When I try to use the TabOpen function it opens a tab, but the URL never gets entered. How come? This is what it says in the editor when I use your script "FFTabAdd.au3" __FFStartProcess: ""C:\Program Files\Mozilla Firefox\firefox.exe" -repl 4242 "about:blank" _FFConnect: OS: WIN_XP WIN32_NT 2600 Service Pack 3 _FFConnect: AutoIt: 3.3.0.0 _FFConnect: FF.au3: 0.4.0.1b _FFConnect: IP: 127.0.0.1 _FFConnect: Port: 4242 _FFConnect: Delay: 2ms Edited February 24, 2009 by Migrashin Link to comment Share on other sites More sharing options...
trinitrotoluen Posted February 24, 2009 Share Posted February 24, 2009 (edited) There were some errors when I disconnected (unplugged from the router) Edited February 24, 2009 by trinitrotoluen Link to comment Share on other sites More sharing options...
trinitrotoluen Posted February 25, 2009 Share Posted February 25, 2009 There's another bug with _FFsearch Func Link to comment Share on other sites More sharing options...
Stilgar Posted February 27, 2009 Share Posted February 27, 2009 @trinitrotoluen: - I can't find any problem with _FFSearch function. How do you have used the function? - This messageboxes appears from the TCPSend/Revc functions. You can disable them with the global var $_FF_ERROR_MSGBOX = false and using your own error routines for this. - Blocking Banners? AddBlock You can disable loading all images, but not single images deppending on size or so. @Migrashin: Which version of the FF.au3 do you using? jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
trinitrotoluen Posted February 27, 2009 Share Posted February 27, 2009 Hi, The newest FF.au3 can't open multi FFs. Link to comment Share on other sites More sharing options...
Stilgar Posted February 27, 2009 Share Posted February 27, 2009 @trinitrotoluen: I'm currently changing some parts, so it would be possible to handle multiple FF-windows in the future. jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
trinitrotoluen Posted February 28, 2009 Share Posted February 28, 2009 @trinitrotoluen:I'm currently changing some parts, so it would be possible to handle multiple FF-windows in the future.But it's previous version can do, do you still keep FF.au3's previous version. If you do can you send it to me ? I lost it ! Thx in advance ! Link to comment Share on other sites More sharing options...
Mat Posted February 28, 2009 Share Posted February 28, 2009 Are there anyway to block banner on the site ?sorry to go back a bit - but if you have AdBlockPlus on firefox you can do this any way.....Mdiesel AutoIt Project Listing Link to comment Share on other sites More sharing options...
Stilgar Posted March 1, 2009 Share Posted March 1, 2009 But it's previous version can do, do you still keep FF.au3's previous version. If you do can you send it to me ? I lost it ! Thx in advance !You can have an other version, but you can't handle multiple windows with it. It's true if you open a new browser window you can control it, but you don't have access to any other open window. And the problem with the "old" versions is: If you open an other FF window, like the DOM Inspector, Download Manager ..., all commands "try to work" on this new window and not on the browser-window. jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
trinitrotoluen Posted March 1, 2009 Share Posted March 1, 2009 (edited) You can have an other version, but you can't handle multiple windows with it. It's true if you open a new browser window you can control it, but you don't have access to any other open window. And the problem with the "old" versions is: If you open an other FF window, like the DOM Inspector, Download Manager ..., all commands "try to work" on this new window and not on the browser-window.No, everything work fine until the newest version, I could control multiple FFs, just changed the port. But now 0.4.0.6b-0 doesn't work !p/s: OK, I understand now. But the newest version can't startup the new FF browser and can't control the new browser either.Anyway, Do you still keep the 0.4.0.1 version ? Edited March 1, 2009 by trinitrotoluen Link to comment Share on other sites More sharing options...
Stilgar Posted March 2, 2009 Share Posted March 2, 2009 @trinitrotoluen: I see, I change this in the next version, again and I'll send you an other version tomorrow. jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
iLoveAU3 Posted March 2, 2009 Share Posted March 2, 2009 is there any way how to automate www.images.google.com navigation?seems like if '_FFClick' doesn't work for www.images.google.com links. Can you guys check if it is possible to do click on 'PREVIOUS' / 'NEXT' on search results? Link to comment Share on other sites More sharing options...
Stilgar Posted March 2, 2009 Share Posted March 2, 2009 You can click on an image with _FFClickImage and navigate there with _FFClickLink e.g. #include <FF.au3> $Socket = _FFConnect() _FFClickImage($Socket,1,"index") ; click on the image with index 1 sleep(3000) _FFAction($Socket,"back") _FFClickLink($Socket,"Next","text") ; click on the link with the text "Next" jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
iLoveAU3 Posted March 2, 2009 Share Posted March 2, 2009 thanks for response Stilgar but have you tested your script? somehow doesn't work for me. both image nad link had been found but there's an error - 'TypeError: FF_AutoItScript.SimulateClick is not a function' here is log from my console: _FFConnect: OS: WIN_XP WIN32_NT 2600 Dodatek Service Pack 3 _FFConnect: AutoIt: 3.3.0.0 _FFConnect: FF.au3: 0.4.0.6b-3 _FFConnect: IP: 127.0.0.1 _FFConnect: Port: 4242 _FFConnect: Delay: 2ms _FFConnect: Socket: 1744 __FFSend: navigator.userAgent __FFRecv: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 _FFConnect: Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 __FFSend: FF_AutoItScript.SimulateClick(content.frames["top"].document.images[1],0,0) __FFRecv: __FFWaitForRepl ==> MozRepl Exception: !!! TypeError: FF_AutoItScript.SimulateClick is not a function _FFClickImage ==> No match: 1 __FFSend: FF_AutoItScript.SearchLink("text","Nast","top") __FFRecv: 59 __FFSend: FF_AutoItScript.SimulateClick(content.frames["top"].document.links[59],0,0) __FFRecv: __FFWaitForRepl ==> MozRepl Exception: !!! TypeError: FF_AutoItScript.SimulateClick is not a function Link to comment Share on other sites More sharing options...
Stilgar Posted March 2, 2009 Share Posted March 2, 2009 (edited) Yep It's tested. Sorry there was a bug in the last version of the FF.au3, I've uploaded a new one. Edited March 2, 2009 by Stilgar jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
iLoveAU3 Posted March 2, 2009 Share Posted March 2, 2009 I've downloaded new version just second ago but result is the same. _FFConnect: OS: WIN_XP WIN32_NT 2600 Dodatek Service Pack 3 _FFConnect: AutoIt: 3.3.0.0 _FFConnect: FF.au3: 0.4.0.6b-4 _FFConnect: IP: 127.0.0.1 _FFConnect: Port: 4242 _FFConnect: Delay: 2ms _FFConnect: Socket: 1744 __FFSend: navigator.userAgent __FFRecv: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 _FFConnect: Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 __FFSend: FF_AutoItScript.SearchLink("text","Nast","top") __FFRecv: 53 __FFSend: FF_AutoItScript.SimulateClick(content.frames["top"].document.links[53],0,0) __FFRecv: __FFWaitForRepl ==> MozRepl Exception: !!! TypeError: FF_AutoItScript.SimulateClick is not a function Link to comment Share on other sites More sharing options...
Stilgar Posted March 3, 2009 Share Posted March 3, 2009 Have you closed FireFox before you tried the new version? jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
Recommended Posts