Jump to content
Sign in to follow this  

Read firefox text from a specified Tab?

Recommended Posts

I am trying to read text from Firefox with ff.au3, but i want it to read text from a specified background tab, while I am working/browsing through other tabs.

RIght now, its not possible because with command _FFReadtext(), it reads just text from the currently active tab.

Here is an example what i am trying to do,

#include <FF.au3>

_FFStart("http://www.wetter.de/","", 2)

$lookfor= "Der Wettertrend vom 26.02.2014"


$text = _FFReadtext()
$result=BinaryToString($text, "4")

Until StringInStr($result, $lookfor) > 1
MsgBox(4096, "'" & $lookfor & "' found.", "'" & $lookfor & "' found.",2)

But as I said, the _FFReadtext() command  will just continue reading the text from the currently opened window/tab, but I want that it keeps on reading the Tab/WIndow that i specified, no mater which Window/tab i am currently using/browsing .


Thank you for your help

Edited by Orao

Share this post

Link to post
Share on other sites

Change to the tab you want to control : _FFTabSetSelected


OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control


Share this post

Link to post
Share on other sites

Change to the tab you want to control : _FFTabSetSelected


I tried your suggestion, but this function will Activate the Tab and bring it to the front.

I want to be able to browse on other tabs, while the script executes on a Tab which i specified (the Tab is  in Background).

How could i do this?


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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...