jasontj Posted December 13, 2017 Posted December 13, 2017 (edited) Hi all. I'm submitting a page to retrieve results in a Firefox window. When I submit the page by clicking a button, and then wait on the page, it looks like the results are populated via AJAX or something else. It's not the normal "submit" and then a new window loads. So, the "_FFLoadWait()" doesn't seem to work. My results will come back as "clear" every time. Is there another way to do this? I thought about "pausing" the script for a few seconds, but I'm not sure how long it will take if there are hundreds of results. _FFClick("frmSearch:btnSearch","id") _FFLoadWait() $sHTML = _FFReadText() $testStr1 = StringRegExp($sHTML, "Result Count:") if $testStr1 = 1 then msgbox(0, "Records", "Records exits") Else msgbox(0, "Clear", "Clear") endIf I also tried "_FFLoadWaitASYNC()", but got the error below: C:\Users\JJ\Desktop\AutoIT\fed2.au3 (371) : ==> Unknown function name.: _FFLoadWaitASYNC() ^ ERROR Edited December 13, 2017 by jasontj
careca Posted December 15, 2017 Posted December 15, 2017 You could place some error checking to see where it fails. Spoiler Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now