Jump to content

Script to close window immediately when it appears.


Recommended Posts

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]
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...