How I can close the application using Alt + f4 control?

This for close using ctrl + C SendKeys "%(c)"