Jump to content

Recommended Posts

Posted

Okay normally I dont have issues with somthing as basic as pulling text from a website but how can I pull the two passwords displayed on this page.

$UsernameAndPassword = _IECreate("http://www.generate-password.com/")

_IELoadWait ($UsernameAndPassword)

there is my code obviously the url is

www.generate-password.com/

thank in advance

Posted

#include "IE.au3"
#include "array.au3"
$UsernameAndPassword = _IECreate("http://www.generate-password.com/")
_IELoadWait ($UsernameAndPassword)
$sText = _IEBodyReadHTML ($UsernameAndPassword)
$pw=StringRegExp($sText,"value=........",3)
_ArrayDisplay($pw)

Posted

Okay that is working great the only question I have to ask is now how can I make it minuse the Value= after it has pulled it....

thank you

Posted

Hey thank you that code works perfect had to divide it up just a bit and get ride of the msgbox witch confused me a bit but now that I look back at it I dont know why lol

brain freeze

lol

thank you

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
  • Recently Browsing   0 members

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