Sign in to follow this  
Followers 0

Script to close window immediately when it appears.

3 posts in this topic

Posted

Can someone show me the AutoIt script that will immediately close a window

that appears on the desktop as soon as it appears if the Window Title and contents are known?

Share this post


Link to post
Share on other sites



Posted (edited)

Can someone show me the AutoIt script that will immediately close a window

that appears on the desktop as soon as it appears if the Window Title and contents are known?

while 1

sleep(100)

if WinExists("NAME","Text") then WinClose("NAME")

Wend

Edited by ReaImDown

Share this post


Link to post
Share on other sites

Posted

Per your PM I would have posted the same thing as ReaImDown

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  
Followers 0