My code reads the value inside a Notepad using SendMessage and stores it in dText.
dText
Then compare it with the variable foo, if both are equal
foo