Jump to content

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


Recommended Posts

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.

Link to comment
Share on other sites

  • Moderators

Try this first:

WinActivate("title of the error pop up")

If that works, try using WinClose on it

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...