in reply to Re^2: Is GUITest SetForegroundWindow/Sendkey thread safe?
in thread Is GUITest SetForegroundWindow/Sendkey thread safe?
Sad to hear that's the case
You could greatly increase your chances of not getting interrupted at an inopportune moment by (temporarily) raising the priority of your process.
Of course, if the other application takes the same approach, your back to square one.
I'll try to come up with a different solution which doesn't require me finding a unique name & sending a key to it. :)
If you tell us what application your driving, someone might have another solution.
|
|---|