Jump to content

Recommended Posts

Posted (edited)

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
Posted

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"] )

Posted

If you're trying to close something that can be seen in the task manager, find out the name of the process, and then insert the "ProcessClose" function. It should kill whatever you had running.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...