Jump to content

FF.au3 (V0.6.0.1b-10)


Stilgar
 Share

Recommended Posts

Hello,

have you started MozRepl?

FF-menu: Extras/MozRepl

I took a look at the Options button in the Addons window, it was disabled, I thought you cant config this addon.

After starting it all worked fine.

But how do you get URL from currently active tab?

EDIT: It Works, thank you.

Edited by goldenix
My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list]
Link to comment
Share on other sites

  • 2 weeks later...

Error :

__FFSend: try{FFau3.obj=Components.classes["@mozilla.org/preferences-service;

1"].getService(Components.interfaces.nsIPrefBranch); FFau3.obj.getPrefType("javascript.enabled");}catch(e){'_FFCmd_Err';};

__FFRecv:

__FFWaitForRepl ==> Error TCPSend / TCPRecv: TCPRecv :10053

Link to comment
Share on other sites

Like the error message said - that's a TCP error:

http://msdn.microsoft.com/en-us/library/ms740668%28VS.85%29.aspx

MSDN:

WSAECONNABORTED 10053

Software caused connection abort.

An established connection was aborted by the software in your host computer, possibly due to a data transmission time-out or protocol error.

What are you trying to do if this error appear?

Link to comment
Share on other sites

Why this error appear ? I only use _FFPrefSet('javascript.enabled',true)

But it doesn't appear often, sometimes has but sometimes not.

Like the error message said - that's a TCP error:

http://msdn.microsoft.com/en-us/library/ms740668%28VS.85%29.aspx

MSDN:

What are you trying to do if this error appear?

Edited by trinitrotoluen
Link to comment
Share on other sites

With an earlier version of FF.au3 (V0.3.6.1beta), I can use these statements to open a page:

_FFFrameEnter($Socket, "main", "id")

_FFOpenURL($Socket, 'PortConfigView.ssi')

_FFLoadWait($Socket)

Console:

__FFSend: content.wrappedJSObject.frames[1].name

__FFRecv: contents

__FFSend: content.wrappedJSObject.frames[2].name

__FFRecv: main

__FFSend: content.wrappedJSObject.frames[2].document.location.href="PortConfigView.ssi"

__FFRecv: PortConfigView.ssi

_

With the latest version of FF.au3 (0.5.3.6b) (I removed the $Socket argument) I get an error trying to open "http://PortConfigView.ssi".

Console:

__FFSend: try{content.frames[1].name}catch(e){'_FFCmd_Err';};

__FFRecv: contents

__FFSend: try{content.frames[2].name}catch(e){'_FFCmd_Err';};

__FFRecv: main

_FFOpenURL: http://PortConfigView.ssi

__FFSend: try{window.content.frames[2].document.location.href="http://PortConfigView.ssi";}catch(e){'_FFCmd_Err';};

__FFRecv: http://PortConfigView.ssi

How can I correct this problem? Is it caused by the addition of "http://"?

And thanks for a nice tool.

Regards,

Frank

Frank

Link to comment
Share on other sites

Like the error message said - that's a TCP error:

http://msdn.microsoft.com/en-us/library/ms740668%28VS.85%29.aspx

MSDN:

What are you trying to do if this error appear?

All line after this error will be appear as an error. I must _FFDisconnect then _FFconnect to put the code back to work normally.

Link to comment
Share on other sites

@fspafford:

Hello,

thanks!

With the latest version of FF.au3 (0.5.3.6b) (I removed the $Socket argument) I get an error trying to open "http://PortConfigView.ssi".

Console:

__FFSend: try{content.frames[1].name}catch(e){'_FFCmd_Err';};

__FFRecv: contents

__FFSend: try{content.frames[2].name}catch(e){'_FFCmd_Err';};

__FFRecv: main

_FFOpenURL: http://PortConfigView.ssi

__FFSend: try{window.content.frames[2].document.location.href="http://PortConfigView.ssi";}catch(e){'_FFCmd_Err';};

__FFRecv: http://PortConfigView.ssi

I can't see any error there. Which error do you mean? An error message in the browser?

How can I correct this problem? Is it caused by the addition of "http://"?

I don't think so, but you can try it to open without the http://:

_FFCmd('location.href="PortConfigView.ssi"')

@trinitrotoluen:

Strange problem, I must try this out.

Link to comment
Share on other sites

Hello Stilgar.

Do you have any plan on implementing the event handlers on the form functions?

I've a particular interest on these functions: _FFFormCheckBox, _FFFormOptionselect, _FFormRadioButton for a project we are trying to build.

Currently, we have to add inside our scripts a copy of the javascript code existing inside the tested application page, so we have a strong dependency with that version of the application and will have to change whenever the pages are implemented differently.

Unfortunatly, I'm not expermented enough with the internals of javascript/DOM to be able to add them myself inside your code.

So if you have some time, and if this is not too difficult (I don't know how much complex it might be), I'd really appreciate.

Link to comment
Share on other sites

You can use debugview from sysinternals to debug code even when the script is compiled.

Just open up debugview and run the compiled script. Wherever you have dbg($msg), the script will send $msg to the debugview console.

Func dbg($msg)
    ;use debugview from sysinternals
    ;http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx        Download
    ;http://msdn.microsoft.com/en-us/library/ms679303(VS.85).aspx         Functions
    DllCall("kernel32.dll", "none", "OutputDebugString", "str", $msg)
EndFunc   ;==>dbg
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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