Sign in to follow this  
Followers 0
interceptorv8

close a window

6 posts in this topic

Can someone tell me how can I close a window when I do not know the window name?. something like Alt+F4 to close the active window in that moment. please.

Thank you.

Share this post


Link to post
Share on other sites



@zedna,

Winclose("[ACTIVE]") it doesn´t work. I have seen in some scripts the command send("^c") this is Ctrl+c how can I send Alt+F4 ?

thank you for your quick reply.

Share this post


Link to post
Share on other sites

@Jos ,

winclose("") it work, thanks you.

Share this post


Link to post
Share on other sites

@zedna,

Winclose("[ACTIVE]") it doesn´t work. I have seen in some scripts the command send("^c") this is Ctrl+c how can I send Alt+F4 ?

thank you for your quick reply.

you need

Opt("WinTitleMatchMode", 4)

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