Jump to content
Danp2

FF.au3 (v0.6.0.1b-15) [End of life]

Recommended Posts

@Danp2 Unfortunately this does not work for me again...

P.S. Sorry for the delay, we had a lot of additional work in the meantime

Share this post


Link to post
Share on other sites

Okay, can you let me know what is needed so that you can assist me with it?

I have the following page:Capture.thumb.PNG.c0d534126cd4c68eeb4766593d7cdb31.PNG

I need to extract data from "Decline Reasons last 24h", but when I do, I get the following error in AutoIT:

_FFConnect: OS: WIN_81 WIN32_NT 9600 
_FFConnect: AutoIt: 3.3.14.2
_FFConnect: FF.au3: 0.6.0.1b-15
_FFConnect: IP: 127.0.0.1
_FFConnect: Port:   4242
_FFConnect: Delay:  2ms
_FFConnect: Socket:     636
_FFConnect: Browser:    Mozilla/5.0 (Windows NT 6.3; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0
__FFSendJavaScripts: Sending functions to FireFox .......... done
"C:\Program Files (x86)\AutoIt3\Include\FF.au3" (3003) : ==> Array variable has incorrect number of subscripts or subscript dimension range exceeded.:
$aTable[$j][$i] = $aRows[$j + 1]
$aTable[$j][$i] = ^ ERROR
->16:37:57 AutoIt3.exe ended.rc:1
+>16:37:57 AutoIt3Wrapper Finished.
>Exit code: 1    Time: 1.982

I have also uploaded the FF.au3 that I am using.

Here is the code:

#include <FF.au3>
#include <Array.au3>

_FFConnect()
$a = _FFTableWriteToArray()
_ArrayDisplay($a)

What else can I give you as details?

Thank you in advance!

FF.au3

Share this post


Link to post
Share on other sites

There was a prior change in this UDF that attempted to fix an issue in _FFTableWriteToArray. This change was as follows --

From this

$aTable[$j][$i] = $aRows[$i + 1]

To this

$aTable[$j][$i] = $aRows[$j + 1]

You have a few options to try to address this yourself --

  • Revert this line of code to see if the error goes away. Remember that this could have other side effects
  • Debug the UDF code to determine why this error is occurring.
  • You could try the latest version from the original author, which you can download here.

P.S. I am no longer using this UDF, so I won't be updating it any further.

Share this post


Link to post
Share on other sites

Hello,

When i install FF, Firefox Quantum is installed, it says MozRepl is not compatible, is there something to do or should i install another version ?

( I'm pretty sure this question is reccurent, may be you can ass little statement about it in main post )

 

Or  is [UDF] WebDriver (W3C compliant)  a replacement ? i'm new to this, sorry if my question sounds dumb.

 

Thanks. 

Edited by ConnorMcLeod

Share this post


Link to post
Share on other sites
2 hours ago, ConnorMcLeod said:

I'm pretty sure this question is reccurent, may be you can ass little statement about it in main post

Done. Thanks for the suggestion.

The WebDriver UDF is definitely an alternative to this one. Check it out and post any questions to this thread in the GH&S section.

Share this post


Link to post
Share on other sites
On 3/4/2017 at 9:09 PM, Stilgar said:

Sorry for the long downtime.

Can anyone tell me what's the difference between my current version 0.6.0.2b and all the functions here in the forum? :)

Some changes has been made. I suggest to use Total Commander file compare mode (Files - Compare By Content) to see the difference between two files._FF V0.6.0.5b-1.au3

Share this post


Link to post
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

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By mattia100
      HI!
      1) I want to create a FF web page in background... i want to say a web page that can't be seen in the application bar  but only in Windows Task Manager... 
      maybe using  __FFStartProcess? in fact i tried to use it but the parameter "hide" only can minimize the page, but not put it in background... 
      2) After creating this hide page, i would to open a macro of the iMacros addon, always all in hide mode...
      it is possible to do it?
      anybody can help me?
      Thanks!!
    • By rte7
      Hello. We work with the BMC Remedy site to manage incidents and would like to automate the processes of clicking through this button code:
      <a href="javascript:" class="btn btn3d menu" style="top:21; left:184; width:21; height:21;"> <img class="btnimg" src="../../../../resources/images/mt_sprites.gif" alt="menu category issue" title=""> </a> I use firefox with mozrepl and autoit with include FF.au3
      I need your help
      I read the topic https://www.autoitscript.com/forum/topic/95595-ffau3-v0601b-10/ but I could not run the code from the listed commands
      ...
      It is necessary to press the button and from the list of the menu of cahorsations to select the item = "zone of trust abonent"
      Screen # 1 http://joxi.ru/52aJK7bh4a7ypA or below.
      1) Press button
      <a href="javascript:" class="btn btn3d menu" style="top:21; left:184; width:21; height:21;"> <img class="btnimg" src="../../../../resources/images/mt_sprites.gif" alt="menu category issue" title=""> </a>
      2) After pressing the button, I need to choose in this menu of 4 items to select an item called "zone of trust abonent", Screen # 2 - http://joxi.ru/p27gwQKHo71VQ2
      html code table items
      <table class="MenuTable" cellpadding="0" cellspacing="0" style="width: 179px;"> <tbody class="MenuTableBody"> <tr class="MenuTableRow"> <td class="MenuEntryName" nowrap="">zone of trust abonent</td> <td class="MenuEntryNoSub" arvalue="zone of trust abonent"></td> </tr> <tr class="MenuTableRow"><td class="MenuEntryName" nowrap="">zone of trust operator</td> <td class="MenuEntryNoSub" arvalue="zone of trust operator"></td> </tr> <tr class="MenuTableRow"><td class="MenuEntryName" nowrap="">zone of trust third operator</td> <td class="MenuEntryNoSub" arvalue="zone of trust third operator"></td></tr> <tr class="MenuTableRow"><td class="MenuEntryNameHover" nowrap="">No settings</td> <td class="MenuEntryNoSubHover" arvalue="No settings"></td> </tr> </tbody> </table>
       
       
      More in detail, I choose from the menu item "zone of trust abonent" Screen # 3 - http://joxi.ru/GrqVq4ZIQEPW4m

       
      3) The choice is made, Screen # 4 http://joxi.ru/v297w6aC3PovLr
      <textarea class="text sr " wrap="off" id="arid_WIN_0_1000002488" cols="20" maxlen="60" style="top:21; left:0; width:179; height:21;" armenu="CFG:PRC:CategoryHPD-Res-T1-Q" mstyle="2" arautoc="1" arautocmb="1" arautocak="0" arautoctt="400" rows="1"> </textarea>
       
      It's all. I would be very grateful to you =) !!!!!!!!!!
      Here are more detailed codes in the attachment. 
      button1.txt
      menu - table.txt
      all.txt
    • By 5ervant
      Go create a quick account in Zapier and go to https://zapier.com/app/dashboard and make some Zaps!
      Just need to click the specific instance of an .open-menu button and then click its a.run (anchor) element.
      Doing this IE.au3 script just causing to click its container element:
      $target = 1; Target the first instance #include <IE.au3> $oIE = _IEAttach("Dashboard - Zapier") $count = 0; $tags = _IETagNameGetCollection($oIE, "div") For $tag in $tags $class_value = $tag.GetAttribute("class") If $class_value = "open-menu" Then $count += 1 if $count = $target Then MsgBox(0, "Instance: ", $count) ; $tag.fireEvent("onmousedown") ; _IEAction($tag, "click") ; $tag.fireEvent("onmouseup") ; Or this but not working ; $tag.Click EndIf EndIf Next I also tried to do it using FF.au3
      $target = 1; Target the first instance #Include <Array.au3> #Include <FF.au3> $count = 0; If _FFConnect(Default, Default, 3000) Then $aArray = _FFXPath( "//div[@class='open-menu']", "", 7 ) ; _ArrayDisplay($aArray) For $tag in $aArray $count += 1 if $count = $target Then MsgBox(0, "Instance: ", $count) _FFClick($tag) EndIf Next EndIf Error: _FFClick ==> No match: $sElement: [number]
      Could some help me how to click such buttons on such kind of a dynamic page?
    • By jfcby
      I have a script that sends multiple lines of text to a textbox using Firefox. I using _FFSetValue($sCellValue[7], "line one" & @CR & "line two", "id") from ff.au3. If it's a single line of text it works but MozRepl give the following error with multiple lines of text.
      Error:  
      __FFSend: try{FFau3.simulateEvent(window.content.top.document.getElementById('line one
      line two'),'Event','change',13);}catch(e){'_FFCmd_Err';};
      __FFWaitForRepl ==> Error return value: MozRepl ....>
      __FFSend: ;
      __FFRecv:
      __FFSend: FFau3.WCD=window.content.top.document;
      __FFWaitForRepl ==> Error return value: MozRepl ....>
      __FFRecv: !!! SyntaxError: unterminated string literal
      Details:

       [object HTMLDocument] - {mainForm: {...}, location: {...}, getElementsByName: function() {...}, getItems: function() {...}, open: function() {...}, close: function() {...}, write: function() {...}, ...}
      !!! SyntaxError: unterminated string literal
      Will MozRepl plugin for Firefox send multiple lines of text to a textbox?
      Thanks for your help.
×
×
  • Create New...