How can i close a file after i called it ?
[i mean an exe file that i called, not opening by "open]
Thanks, Tomer.
Printable View
How can i close a file after i called it ?
[i mean an exe file that i called, not opening by "open]
Thanks, Tomer.
SendKeys "%{F4}"
What if that application does not support ALT-F4?
Then don't open it :D
Honestly, I cannot think of one that does not, although some prompt when you ALT F4. If you know the app prompts, look for the window title of the prompt when you close it and sendkeys a %Y or %N as appropriate.
You could also send something else.