JayFran Posted September 10, 2010 Share Posted September 10, 2010 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 Link to comment Share on other sites More sharing options...
PsaltyDS Posted September 10, 2010 Share Posted September 10, 2010 See help file: _IEFormElementGetValue() Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
somdcomputerguy Posted September 10, 2010 Share Posted September 10, 2010 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. 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