Jump to content

Send Alt + F4 Command


Recommended Posts

Hello,

i created a script with several install orders and i want to close a window by pressing Alt + F4 but i don't know whats the exact function for that.

i tried it with that...

Send({Alt down} + {F4})

... but that doesn't work. I believe it's a very simple solution but i have no idea.

Regards s4nDer

Edited by s4nDer123
Link to comment
Share on other sites

Hello,

i created a script with several install orders and i want to close a window by pressing Alt + F4 but i don't know whats the exact function for that.

i tried it with that...

Send({Alt down} + {F4})

... but that doesn't work. I believe it's a very simple solution but i have no idea.

Regards s4nDer

Try Send("!{F4}")

or the function WinClose ( "title" [, "text"] )

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