08-11-2008, 09:34 AM
Macro
This works great for dialog. Now the only thing is i want to search an entire list of words to see if s is = to e8... Example:
macro searches for text in box (str s)
Example 1 Fails when running code above-
notepad text box:
this is all the text that is found applicationsrunningonforum in the notepad....ect for text
now str s is = to applicationsrunningonforum *The text in my dialog for e8*
Example 2 works when running code above:
notepad text-
applicationsrunningonforum
what i want to do is make it search the entire text box for "applicationsrunningonforum" (text = to e8) and if found out s else continue
str e8
rget e8 "e8" "\Ghost\test"
out e8
str s
s.getwintext(id(15"Notepad"))
if s = e8
,out "-"
else
,out "Does not ="
This works great for dialog. Now the only thing is i want to search an entire list of words to see if s is = to e8... Example:
macro searches for text in box (str s)
Example 1 Fails when running code above-
notepad text box:
this is all the text that is found applicationsrunningonforum in the notepad....ect for text
now str s is = to applicationsrunningonforum *The text in my dialog for e8*
Example 2 works when running code above:
notepad text-
applicationsrunningonforum
what i want to do is make it search the entire text box for "applicationsrunningonforum" (text = to e8) and if found out s else continue