Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Is GUITest SetForegroundWindow/Sendkey thread safe?

by BrowserUk (Pope)
on Mar 26, 2014 at 20:47 UTC ( #1079864=note: print w/ replies, xml ) Need Help??


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.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.


Comment on Re^3: Is GUITest SetForegroundWindow/Sendkey thread safe?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1079864]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2014-12-28 12:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (181 votes), past polls