tsolrm Posted July 30, 2012 Share Posted July 30, 2012 Hi, I am trying to do the following <------- BLOCK OF TEXT ----------> somewhere in the middle of the text there is a var VARIABLE = "somenumber"; <------- BLOCK OF TEXT ----------> I need to find a way to get the value of the VARIABLE. Help me please Link to comment Share on other sites More sharing options...
jdelaney Posted July 30, 2012 Share Posted July 30, 2012 stringregexp(), learn it, use it, love it IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window. Link to comment Share on other sites More sharing options...
JohnOne Posted July 30, 2012 Share Posted July 30, 2012 #include <String.au3> $BlockofText = 'somewhere in the middle of the text there is a var VARIABLE = "somenumber" with more text after maybe' $aStringBetween = _StringBetween($BlockofText,'VARIABLE = "','"') If Not @error Then MsgBox(0,0,$aStringBetween[0]) EndIf AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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