Can anyone make this a little more simplified..

All i want my program to do is:
1) Constantly Monitor for new windows ex: Phone Dialer
2) Record a new window found to text1.text overwrighting the previous one.

Thanks