s4nDer123 Posted October 8, 2008 Share Posted October 8, 2008 (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 October 8, 2008 by s4nDer123 Link to comment Share on other sites More sharing options...
Chapi Posted October 8, 2008 Share Posted October 8, 2008 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 More sharing options...
Qaptian Posted October 8, 2008 Share Posted October 8, 2008 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. Link to comment Share on other sites More sharing options...
s4nDer123 Posted October 8, 2008 Author Share Posted October 8, 2008 Okay, thanks for your reply. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now