Orao Posted February 26, 2014 Share Posted February 26, 2014 (edited) I am trying to read text from firefox using the FF.au3 script. But foreign letters are not displayes correctly; letters like "ö", "ä", "č", "ć". What am i doing wrong? Here is an example of the problem: #include <FF.au3> _FFStart("www.wetter.de","", 2) $text = _FFReadtext() MsgBox(4096,"",$text) Here is the result i get: What am i doing wrong? Thank you Edited February 26, 2014 by Orao Link to comment Share on other sites More sharing options...
FireFox Posted February 26, 2014 Share Posted February 26, 2014 Hi, No this is not your fault, the encoding is not correct. Try this : MsgBox(0, "", BinaryToString(StringToBinary($text, 1), 4)) Br, FireFox Link to comment Share on other sites More sharing options...
Orao Posted February 27, 2014 Author Share Posted February 27, 2014 Yes, thanks i managed it with BinaryToStrung(). Is it possible tor read the text of a Firefox Tab that is currently in background. I would like to be able to work on other tabs, while the script reads text on a background tab, but if i use: _FFReadtext() This function reads text but only on the current active tab, so if i browse through the tabs it always just reads text on the tab that i currently use. Any solution? Thank you Link to comment Share on other sites More sharing options...
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