Jump to content
Sign in to follow this  
taylormade

Script to close window immediately when it appears.

Recommended Posts

taylormade

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
ReaImDown

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

[u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u]

Share this post


Link to post
Share on other sites
weaponx

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  

×