JayFran 0 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 Share this post Link to post Share on other sites
PsaltyDS 39 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 Share this post Link to post Share on other sites
somdcomputerguy 103 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. Share this post Link to post Share on other sites