Stilgar Posted August 3, 2008 Share Posted August 3, 2008 Result of my script :_FFConnect: IP: 127.0.0.1_FFConnect: Port: 4242_FFConnect: Connection Delay: 6ms_FFConnect ==> Timeout: Can not connect to FireFox/MozRepl on: 127.0.0.1:4242Can you help me and saying how can I find the write Port.Thanks in advanceYou must have the FF-Addon MozLab ("MozRepl") installed and started, before you can use it. jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
LOULOU Posted August 3, 2008 Share Posted August 3, 2008 You must have the FF-Addon MozLab ("MozRepl") installed and started, before you can use it.Where can i find this FF-Addon ? Link to comment Share on other sites More sharing options...
Stilgar Posted August 3, 2008 Share Posted August 3, 2008 MozLab jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
zutto Posted August 3, 2008 Share Posted August 3, 2008 I'm sorry I haven't time to do the english translation. But I completed the german one and I think the english "google" translation is readable, too FF.au3 Documentationand I've added support for frames:FF.au3and a tool to analyze the forms and links of a page:with this you can create commands (or a simple script), too.FF-Page AnalyzerStilgaryour analyzer isnt working ;/atleast for me, i can click the linkbar or add links to there... Link to comment Share on other sites More sharing options...
Stilgar Posted August 3, 2008 Share Posted August 3, 2008 The linkbar is read only. The program is using the current page you've loaded in FireFox. jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
darkescape Posted August 6, 2008 Share Posted August 6, 2008 (edited) hi, your FF-Page Analyzer is currently working for me. Can you post the scripts to choose from categories? Edited August 6, 2008 by darkescape Link to comment Share on other sites More sharing options...
LOULOU Posted August 6, 2008 Share Posted August 6, 2008 (edited) I have a problem to works on a form with an imput type=file and firefox I have find it with IE but not with firefox ex in IE Assign input focus to the field and then send the text string $fichier = _IEFormElementGetObjByName($form, "nomFic") _IEAction($fichier, "focus") ; put focus on input type="file" $hie = _IEPropertyGet($oIE, "hwnd") ; take the hwnd of the windows ControlSend($hie, "", "[CLASS:Internet Explorer_Server; INSTANCE:1]", StringUpper($file1), 1) ;finally send to the control Is someone know how to do the same with firefox __FFRecv: !!! [Exception... "Security error" code: "1000" nsresult: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)" location: "XPCSafeJSObjectWrapper.cpp Line: 445"] Edited August 6, 2008 by LOULOU Link to comment Share on other sites More sharing options...
A. Percy Posted August 6, 2008 Share Posted August 6, 2008 It was the first UDF I found in autoit german forum when I signed it Actually I'm using for automation of our (company) plugin test. Só o que posso lhe dizer, bom é quando faz mal!My work:Au3Irrlicht - Irrlicht for AutoItMsAgentLib - An UDF for MSAgentAu3GlPlugin T2 - A 3D plugin for AutoIt...OpenGl Plugin - The old version of Au3GlPlugin.MAC Address Changer - Changes the MAC AddressItCopter - A dragonfly R/C helicopter simulator VW Bug user Pinheiral (Pinewood) city: http://pt.wikipedia.org/wiki/Pinheiral Link to comment Share on other sites More sharing options...
LOULOU Posted August 6, 2008 Share Posted August 6, 2008 It was the first UDF I found in autoit german forum when I signed it Actually I'm using for automation of our (company) plugin test.Can you help me ? and giving the adress where to find an example.Thanks in advance Link to comment Share on other sites More sharing options...
A. Percy Posted August 6, 2008 Share Posted August 6, 2008 Can you help me ? and giving the adress where to find an example.Thanks in advanceUse "_FFSetValueByName" function Só o que posso lhe dizer, bom é quando faz mal!My work:Au3Irrlicht - Irrlicht for AutoItMsAgentLib - An UDF for MSAgentAu3GlPlugin T2 - A 3D plugin for AutoIt...OpenGl Plugin - The old version of Au3GlPlugin.MAC Address Changer - Changes the MAC AddressItCopter - A dragonfly R/C helicopter simulator VW Bug user Pinheiral (Pinewood) city: http://pt.wikipedia.org/wiki/Pinheiral Link to comment Share on other sites More sharing options...
LOULOU Posted August 6, 2008 Share Posted August 6, 2008 Use "_FFSetValueByName" function It"s not possible because wiyh this function i have a security message error __FFRecv: !!! [Exception... "Security error" code: "1000" nsresult: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)" location: "XPCSafeJSObjectWrapper.cpp Line: 445"] Link to comment Share on other sites More sharing options...
Donace Posted August 18, 2008 Share Posted August 18, 2008 (edited) i've got the required addon for firefox but every time i load the analyser i get a connection error [edit] NVM noobish mistake by me Edited August 18, 2008 by Donace Link to comment Share on other sites More sharing options...
Kairu Posted August 21, 2008 Share Posted August 21, 2008 Ok, I see that you added the frame support, but there is no documentation and I cannot seem to get it to work. I decided to use it on one of my old myspace bots, and I tried to change it from using my old method of having the window sized exactly and hidden, and using the control commands. I can get into the app perfectly, easier then the hours it first took me, but when I get to the app window, and it pulls up the app's frame, I cant get into it. I am simply searching for a term inside it the frame "REFRESH" in this case, and trying every single frame ID possible. Something like this: MsgBox(0,_FFFrameSelected($Socket),_FFAction($Socket,"search","REFRESH")) _FFFrameEnter($Socket, 1) _FFClickLink($Socket, "REFRESH", "text") _FFClick($Socket, "Missions", "text") MsgBox(0,_FFFrameSelected($Socket),_FFAction($Socket,"search","REFRESH")) _FFFrameEnter($Socket,2) _FFClickLink($Socket, "REFRESH", "text") _FFClick($Socket, "Missions", "text") MsgBox(0,_FFFrameSelected($Socket),_FFAction($Socket,"search","REFRESH")) _FFFrameEnter($Socket,3) _FFClickLink($Socket, "REFRESH", "text") _FFClick($Socket, "Missions", "text") MsgBox(0,_FFFrameSelected($Socket),_FFAction($Socket,"search","REFRESH")) _FFFrameEnter($Socket,4) _FFClickLink($Socket, "REFRESH", "text") _FFClick($Socket, "Missions", "text") MsgBox(0,_FFFrameSelected($Socket),_FFAction($Socket,"search","REFRESH")) _FFFrameEnter($Socket,5) _FFClickLink($Socket, "REFRESH", "text") _FFClick($Socket, "Missions", "text") MsgBox(0,_FFFrameSelected($Socket),_FFAction($Socket,"search","REFRESH")) But the clicks do not happen and the search always returns false. Any ideas? Link to comment Share on other sites More sharing options...
Stilgar Posted August 22, 2008 Share Posted August 22, 2008 (edited) The current documentation is here:FF.au3 documentationThe _FFClickLink($Socket, "REFRESH", "text")searches the link "text" and clicks on it._FFClick($Socket, ...) works only with the DOM-Object e.g._FFClick($Socket, ".links[0]")If you can show me a sample page I can help you more. Edited August 22, 2008 by Stilgar jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
Kairu Posted August 27, 2008 Share Posted August 27, 2008 Sent you a PM. I also found something which I think you will want to change. It's in the PM. Link to comment Share on other sites More sharing options...
Dune Posted September 21, 2008 Share Posted September 21, 2008 Hey Stilgar, I have a question regarding the _FFSetValueByName. How can I successfully use it on a page that has multiple forms. I used it on a page with only one form (forms[0] only form there) without issues, however it doesn't seem to work when there are multiple forms. Am I doing something wrong or is there a different way of setting the value of an element when there are multiple forms. Perhaps I have to select the specific form ? Cheers. Link to comment Share on other sites More sharing options...
Dune Posted September 21, 2008 Share Posted September 21, 2008 Nevermind, I got it to work. My connection was too slow and I was sending the data do the wrong page Link to comment Share on other sites More sharing options...
scdxorange Posted September 26, 2008 Share Posted September 26, 2008 (edited) I could use $socket = _FFStart ("http://www.google.com")to access google website, but I cannot use its IP address to access, such as:$socket = _FFStart ("74.125.95.103")But the server which I need to access doesn't have a dns name, I could only use its IP address.Do you have any idea?Thanks! Edited September 26, 2008 by scdxorange Link to comment Share on other sites More sharing options...
ProgAndy Posted September 26, 2008 Share Posted September 26, 2008 THe RegExp in __FFisURL doesn't accept IPs. You need to change it *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
Stilgar Posted September 26, 2008 Share Posted September 26, 2008 You can open an IP address with this command: _FFSetGet($Socket, '.location.href="http://74.125.95.103"') jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
Recommended Posts