Jump to content

Recommended Posts

Posted

I need help writing a line or two to get the value in the html code. say if "value=true" then the code is looking for true it will return with a msgbox saying true was found but it its <> to true then msgbox not found. Can someone point me in the right direction. thanks

Posted

I use code like this,

#include <INet.au3>
If StringInStr(_INetGetSource(GUICtrlRead($Input2)), GUICtrlRead($Input3)) = 0 Then GUICtrlSetData($Label4, "Page Change!!")

with $Input 2 & 3 being "http://someotherforum.com/search.php?do=getnew" & "Some Other Text".

Basically, it's True if that text isn't found in the source code of the page returned at that URL. I suppose you could use "value=true" for the text to search for..

Hope this helps..

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

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
×
×
  • Create New...