Jump to content

Search the Community

Showing results for tags 'FF.au3'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office


  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start






Found 25 results

  1. This is for those pages that seem to load when you use _FFOpenURL(), but they have a text saying "please wait while we load your page..." but according to _FFOpenURL() the page has loaded. An example seen in popular sites is the Cloudflare page saying "Checking your browser before...". It's the opposite of pausing a script until an element is visible on a page. It takes Elements in the form of id, xpath or text search. Global $BrowserPort = 4242 Global $TimeOut = 60000 Global $LocalHost = "" Func _FFWaitWhileElement($thiselement, $elementtype = "xpath",
  2. my FF.au3 does get included but my script does not open firefox. here is my code so far: #include <FF.au3> _FFStart("https://www.google.com", Default, 0) I am using firefox portable version 52.0 Any and all help would be greatly appreciated. The code runs but nothing happens. I think the FF.au3 cannot find or connect to the firefox portable.
  3. Hello Experts, I am working on modifying table data of a browser currently in IE (soon in FF) My sequence of operations: 1. Activate Browser 2. Get Browser table 3. Modify data in table 4. Suppress any warning/error message from webpage 5. Activate the Webpage again 6. Send {F11} key sequence twice to achieve some update without Updating form ( {F5}) My problem is at Step 5, as it activates the wrong window ( last used application rather than my browser window) My code snippet for it as follows $bFoundWindow = False Local $aList
  4. I am using FF.au3, Since its proprietary I can't share image or link for the data I am using. But here is my problem abstract code . ; Test if I get table contents correctly ;$sCurr= _FFXPath("/html/body/form[1]/div[2]/div[3]/div[2]/table[@id='bodyTable']/tbody/tr[3]/td[4]", "textContent") ;MsgBox(0, "Current Value ", $sCurr, 2) ; output " -254.4" $sObj = _FFXPath("/html/body/form[1]/div[2]/div[3]/div[2]/table[@id='bodyTable']/tbody/tr[3]/td[4]") MsgBox(0, "Object", $sObj, 2) ; output "OBJECT|FFau3.xpath" $sRet = _FFObj($sObj, "value", "-253.4") MsgBox(0, "Return
  5. 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/ b
  6. How can I check if element is focused in Firefox using FF.au3 UDF? This is my try: I have prepared a function that checks if the object is focused: _FFCmd('FFau3.isfocused=function isfocused(a){try{return (a === document.activeElement)}catch(e){return}}') $oElm = _FFXPath("//*[@id='someId']") ConsoleWrite(_FFIsFocused($oElm)) Func _FFIsFocused($sElement = "") Local $isFoc = _FFCmd("FFau3.isfocused(" & $sElement & ")") Return $isFoc EndFunc ;==>_FFIsFocused Now, the javascript part is
  7. I'm trying to determine the latest/easiest/best way (as of May 2016) to control & interact with Firefox using Autoit. To the best I've been able to determine, there have been two different ways to do this. Once upon a time, there was something called "Mozilla ActiveX control", but given all the security warnings I receive whenever I try to download it (the original host site appears to be absent or invalid), I'd prefer to avoid it. The other approach is/was to use a UDF called "FF.au3" developed -- but apparently no longer supported for English speakers -- by Stilgar (old thread is he
  8. I have 2 exe file (autoit's compiled script) running. Both are using FF.AU3. When 1 of the script execute _FFQuit() command, why does it close both firefox browser? Shouldn't it only close it's own firefox and left the other firefox untouchable? Thanks!
  9. I'm trying to automate login on this site in the last few days, and I have to admit it drive me crazy. Seems like there is no solution. The site is rumah123 dot com Click on the "Login atau Daftar" link at top right screen. (I am using this code that work beautifully to click on that link): $oInput = _FFXPath('//*[@data-target="#LoginAgentModal"]') Sleep(250) _FFDispatchEvent($oInput, 'keypress', 13) A login form will displayed. The problem no matter what code I tried, it can not fill the "username" and "password" part. Tried th
  10. Examples Is it possible for ff.au3 or Autoit to pause the script if Firefox crashes? The script I am working on opens and closes a series of random URLs taken from an array. If I close FF simulating a crash I get this error (taken from the SciTE log): __FFWaitForRepl ==> MozRepl Exception: !!! [Exception... "Failure" nsresult: "0x80004005 (NS_ERROR_FAILURE)" Or this, depending on when I close FF _FFCmd ==> Error return value .__FFSend ==> Error TCPSend / TCPRecv: TCPSend: try{FFau3.tmp=window.getBrowser().webProgress;FFau3.tmp.isLoadingDocu
  11. I'd skip of firefox timeout. Please, Can you tell me,
  12. Hello. I need to execute this script var i; var select = document.getElementById("test"); for(i=1;i<select.options.length;i++) { select.options[i].selected=false; }Using autoit with FF.au3. I tried using it like - _FFCmd('var i;var select = document.getElementById("test");for(i=1;i<select.options.length;i++) { select.options[i].selected=false;}');But it doesn't work. _FFConnect: AutoIt: _FFConnect: FF.au3: _FFConnect: IP: _FFConnect: Port: 4242 _FFConnect: Delay: 2ms _FFConnect: Socket: 696 _FFConnect: Browser: Mo
  13. #include <ImageSearch.au3> #include <AutoItConstants.au3> #RequireAdmin #Include <FF.au3> If _FFConnect () Then ;_FFWindowOpen("http://www.geopostcodes.com/",True,True) _FFTabAdd( "http://www.geopostcodes.com/USA") ;WinWaitActive("Postal and ZIP Code database - GeoPostcodes - Mozilla Firefox") ;.//*[@id='browse']/table[2]/tbody/tr[51]/td[1]/a Global $i=2 _FFWindowSelect() For $i=2 To $i=51 Step 1 MsgBox(0,"","ss") $sObj = _FFXpath("//td[@id='browse']/table[2]/tbody/tr["&a
  14. have to convert code over to FF as IE.au3 will not open local file when html page is also file:///. Cannot work out the equivalent of Local $oIEEvents = ObjEvent(_IEGetObjById($oIE, "mylink"), "_MyLink_", "HTMLAnchorEvents2") Func _MyLink_onclick() MsgBox(0, "Yes!", "You clicked!") EndFunc ;==>_MyLink_onclick Tried to use _FFXPath to get object string representation to plug into ObjEvent but got nowhere. Is there an example of e.g. trapping a FF button click within AutoIt? tia.
  15. #include <ff.au3> _FFStart("www.autoitscript.com") When I start this I get error __FFStartProcess ==> General Error: Error reading registry entry for FireFox. HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mozilla\Mozilla Firefox\*CurrentVersion*\Main\PathToExe Error from RegRead: 1 Please give me simply answer and dont use hard words
  16. Hi, need help to change in firefox useragent My script is very simple: Run('"C:Program FilesMozilla Firefoxfirefox.exe"') Sleep(5000) Send("http://www.google.com") Send("{ENTER}") Sleep(5000) ... So,i need to open browser each time with new UserAgent Currently i am using User Agent Switcher add for firefox and with mouse move/select manual useragent but,i am curious if t could set useragent direct with au3 function *NOTE: Only for Firefox
  17. I downloaded FF.au3 , installed MozRepl, started it, put 4242 as port in it, then when Im trying to run this simple script : #include "FF.au3" _FFConnect(default,Default,6000) _FFWindowOpen("http://www.youtube.com", True, True) The thing is, it actually works, but it is still gives me a very annoying error : What can do ?
  18. I recently had issues with the >_FFTableWriteToArray which turned out to be a bug with the function. I am having troubles again, but with a different FF function for the _FFTabSetSelected. The documentation for this function is contained in the attached picture (and below). Again, this is probably on me but I appreciate the help as I can't tell what I am doing wrong. It seems like the first parameter for this function can be a name or index of the tab and the second can be the parameter type. I also assume that if there is only one instance of FF open you can leave _FFWindowSelect() vo
  19. I am embarrassed to ask this but it is not obvious to me after searching around the forum . I am trying to convert a working IE script to read shipping information from a table in our shopping cart solution to FF. This is the working IE version: Local $oTable = _IETableGetCollection($oIE,20) Local $3dcartShipToTable = _IETableWriteToArray($oTable) I grabbed the ff.au3 UDF and found the thread to replace the "/" in the code. I can start it up etc. Then I found the thread to grab the MozRepl plugin (which I did). However, this code: _ffStart("http://pacebands.3dcartstores.com/admin"
  20. Hi, Using FF.au3 and Autoit beta I've noticed something, given the code: #include <FF.au3> #include <Array.au3> $url1 = 'http://www.autoitscript.com/site/autoit/' _FFStart($url1) Sleep(3000) $aLinks = _FFLinksGetAll() _ArrayDisplay($aLinks) ; displays autoit site links Sleep(3000) $url1 = 'http://www.autoitscript.com/site/uncategorized/gimagex-v2-1-1-released/' _FFOpenURL($url1) Sleep(3000) $aLinks = _FFLinksGetAll() _ArrayDisplay($aLinks) ; displays gimagex site links as I assumed it would and _ArrayDisplay shows the links for the current page in Firefox - di
  21. Hi, I am trying to write an autoit script so that it will automatically click on a button on an html page.I think I can do this using firefox automation(using FF.au3). But, I want it to happen without opening the html file in a browser. Means ,It should happen in the background.Please give me an idea. Thanks
  22. Trying out the ff.au3 and wanting to get the text of an element by class. I see _FFGetValue() but all of the are void of the syntax for it . Is there another function I'm supposed to use for this?
  23. Hello, i have problem with FF.au3, i can't click on element by using any of function. I don't have name/ id of the element, here is screenshot from FF_Page_Analyzer : _FFFormSubmit( 3) didn't work, so i tried _FFClick('.forms[3].elements[1]') ; But nothing happen too :/ Can someone help me?
  24. Hello, i have problem with FF.au3, i can't click on element by using any of function. I don't have name/ id of the element, here is screenshot from FF_Page_Analyzer : _FFFormSubmit( 3) didn't work, so i tried _FFClick('.forms[3].elements[1]') ; But nothing happen too :/ Can someone help me?
  25. Hello, i trying to click an element with FF.au3, i usually don't have problem with that, but now nothing works. I tried : Xpath - Nothing happen. [ _FFClick(_FFXpath("//*[@id='mail-filters-simple-submit']", "", 9)) 2. _FFFormSubmit - Site just refresh _FFFormSubmit("mail-filters-simple", "id", "click") _FFFormSubmit("mail-filters-simple", "id") _FFFormSubmit(1) 3. _FFClick - Nothing happen _FFClick("mail-filters-simple-submit", "id") _FFClick("mail-filters-simple-submit", "name") $szukaj = _FFObjGet("mail-filters-simple-submit", "id") _FFClick($szukaj) Someone have any idea?
  • Create New...