I've been learning lots of different programming languages when I came across AppleScript. Since I'm technically new to it, this question may seem dumb.
I need an AppleScript script to quit the "Force Quit Applications" app.
The following code doesn't work:
tell application "Force Quit Applications" to quit
Probably it's because the process has a different name. What is the "Force Quit Applications" process name? Many thanks in advance.
Best Answer
You can use this Apple Script to close this window:
This window is owned by
loginwindow
process and it's not that easy to interact with it. Here's the code to pressForce Quit
button on this window:However this does not work: