Jump to content
Sign in to follow this  
shirishg

Download Window appeared or not

Recommended Posts

shirishg

Hello All,

Request you all to help me out with the mentioned topic.

In my app, after clicking a button system shows a Save dialog box. To get it appeared sometimes it takes 1 sec or 10 mins also, in such case I require a code which will chk whether the Dialog box appeared or not.

Please help me out with this.

Thanks,

Shirin

Share this post


Link to post
Share on other sites
wakillon

Welcolme to the forums ! Posted Image

Find the title and texte of the Dialog box and try this

$_WindowTitle = 
$_Text =

Do
    Sleep ( 50 )
Until WinExists ( $_WindowTitle, $_Text )   
WinActivate ( $_WindowTitle, $_Text )

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.