Jump to content

ff.au3


Recommended Posts

Hi ,

am looking to make some scirpt that search for some number between strings in html source of pages .

how can i do that using ff.au3 script without saving the page to my disk and then search for the number

example source text

Env={user:55555555,locale:

i want to get the number only .

Link to comment
Share on other sites

I don't know about ff.au3, but if you've got the text you can use _StringBetween() to get your numbers.

yes sure this function will help but i want some way to search in html source of page is there any way faster to make this function run in html page without saving the page
Link to comment
Share on other sites

Did you have a look at the

_FFReadHTML or _FFReadText might do what you need.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

You can try this to get the page source :mellow:

$sSource = BinaryToString(InetRead("http://www.google.com"))

Then you can combine:

$a_result = _StringBetween(BinaryToString(InetRead("http://yourpage.com"), "Env={user:", ",locale:")

Note, that _stringBetween returns an array. :)

Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...