Quote Originally Posted by LaVolpe
Alternatively, if dynamic control ids are used, you can send it to the 1st, 2nd, 3rd, etc, edit control on the window, only if the target is always in the same zOrder.
After running your code, it appears that the first edit control is static and the second is dynamic. I didn't create this program that I'm sending text to so I don't know how it was coded, but I find it very strange that the edit controls wouldn't be either both static or both dynamic. It makes me wonder if I'm doing something wrong, but I copied your code so I think it's right. The first output reports the same numbers every time and the second output gives different numbers every time.

Anyway, I tried what you said and sent the text to the 2nd edit control and it worked perfect! Thanks LaVolpe! I couldn't have gotten this working without your help!