dzordz Posted August 26, 2007 Share Posted August 26, 2007 I have big problem, I do not know as put optional value $optionalvalue = Numbers, words, letters etc.... $result1 = StringInStr(_IEBodyReadText($oframe1), "Text"&$optionalvalue&"Text2" SORRY FOR MY BAD ENGLISH Link to comment Share on other sites More sharing options...
jlorenz1 Posted August 26, 2007 Share Posted August 26, 2007 Hi you've forgotten the last ")" $optionalvalue = Numbers, words, letters etc.... $result1 = StringInStr(_IEBodyReadText($oframe1), "Text" & $optionalvalue & "Text2") Johannes Johannes LorenzBensheim, Germanyjlorenz1@web.de[post="12602"]Highlightning AutoIt Syntax in Notepad++ - Just copy in your Profile/application data/notepad++[/post] Link to comment Share on other sites More sharing options...
dzordz Posted August 26, 2007 Author Share Posted August 26, 2007 NO NO NO ! ;( I need $optionalvalue = All Link to comment Share on other sites More sharing options...
MHz Posted August 26, 2007 Share Posted August 26, 2007 Unless you can describe what you want in some more detail, then many answers can be considered for helping you. This is one idea, but I think that you want to use StringRegExp() instead of StringInStr() in the search which allows optional characters to search for? Global $optionalvalue $optionalvalue &= 16 $optionalvalue &= 'word' $result1 = StringInStr(_IEBodyReadText($oframe1), "Text" & Eval('optionalvalue') & "Text2") 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