Jump to content

Recommended Posts

Posted

Hi, i was curious if someone here could help me out or explain what i am doing wrong. The code works fine if i use the source as just the string of html i copied off the website to test it, but i get "Error: Subscript used with non-Array variable." if i try to grab the code via the IEBodyReadHTML. Any ideas or suggestions?

#include <IE.au3>
#include <String.au3>

$oIE = _IEAttach("Untitled")
$source = _IEBodyReadHTML($oIE)
;$source = "</h1><b>Code</b>:<br />AAA_Db74wmUGZM<br /><b>Description / Instructions</b>:<"

$String1 = _StringBetween($source,"AAA_","<br ")
MsgBox(0,"",$String1[0])

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...