Jump to content
Sign in to follow this  
rmnewton

find "OK" sub-window within an adobe air app.

Recommended Posts

rmnewton

Have an autoit script that send out tweets with Twhirl app written in adobe air.

Sometimes the tweet gets hung and twhirl puts out and error window

with an "OK" button . I need to detect this sub-window "OK" button

so I can click on it if it occurs, and continue entering text.

Right now I mouse click in the area where the "OK' button shows

whether it is there or not.This creates other problems as that clicks on

web urls.

Any good ideas, The Info app does not show this parameters for the OK window.

Share this post


Link to post
Share on other sites
JLogan3o13

Try this first:

WinActivate("title of the error pop up")

If that works, try using WinClose on it


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×