Jump to content

Recommended Posts

Posted

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:4242

Can you help me and saying how can I find the write Port.

Thanks in advance

You must have the FF-Addon MozLab ("MozRepl") installed and started, before you can use it.

  • Replies 251
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted

You must have the FF-Addon MozLab ("MozRepl") installed and started, before you can use it.

Where can i find this FF-Addon ?
Posted

I'm sorry I haven't time to do the english translation. :P

But I completed the german one and I think the english "google" translation is readable, too :P

FF.au3 Documentation

and I've added support for frames:

FF.au3

and a tool to analyze the forms and links of a page:

Posted Image

with this you can create commands (or a simple script), too.

FF-Page Analyzer

Stilgar

your analyzer isnt working ;/

atleast for me, i can click the linkbar or add links to there...

Posted (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 by LOULOU
Posted

It was the first UDF I found in autoit german forum when I signed it :P

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

Posted

It was the first UDF I found in autoit german forum when I signed it :P

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

Posted

Can you help me ? and giving the adress where to find an example.

Thanks in advance

Use "_FFSetValueByName" function :P

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

Posted

Use "_FFSetValueByName" function :P

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"]

  • 2 weeks later...
Posted (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 by Donace
Posted

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?

  • 4 weeks later...
Posted

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.

Posted (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 by scdxorange
Posted

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

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...