advertisement
Forums

The Forum is sponsored by 
 

AAPL stock: Click Here

You are currently viewing the Tips and Deals forum
Is there an AppleScript command for "Force Quit Classic"?
Posted by: Paul F.
Date: April 11, 2006 03:22PM
It occured to me that I could spend a lot less time going around the lab after a class leaves if I could run (via Apple Remote Desktop) an AppleScript that could Force Quit Classic...

I can force a log-out, which will quit any OS X native apps, but classic apps don't play nice...


Anyone know AppleScript language for Force Quit?

Tell Application "Classic" to Go To Hell?






Paul F.
-----
A sword never kills anybody; it is a tool in the killer's hand. - Lucius Annaeus Seneca c. 5 BC - 65 AD
----
Good is the enemy of Excellent. Talent is not necessary for Excellence.
Persistence is necessary for Excellence. And Persistence is a Decision.

--

--

--
Eureka, CA
Options:  Reply • Quote
Re: Is there an AppleScript command for "Force Quit Classic"?
Posted by: Seacrest
Date: April 11, 2006 03:42PM
repeat with middle_finger in hand
     tell AppleScript to tell Classic to tell Applescript to "Buzz Off."
     end tell
end repeat

I would think it is part of the System Prefs dictionary under the Classic pane.
I have not done much in the way of Applescripting since the move to X, since there are so many other (better) scripting langs.





I am not Ryan Seacrest, and I do not approve this message.
Options:  Reply • Quote
Re: Is there an AppleScript command for "Force Quit Classic"?
Posted by: Paul F.
Date: April 11, 2006 03:57PM
Can't find any reference to scripting that pane....

There may be many better scripting languages.. but I have a very slight head start with AppleScript!
And it's very easy to run an AppleScript as an Application using the (older) version of Apple Remote Desktop I have... I can't directly run Shell scripts remotely using this version.


Maybe there isn't a way to AppleScript a force-quit, but I'm hoping there is!







Paul F.
-----
A sword never kills anybody; it is a tool in the killer's hand. - Lucius Annaeus Seneca c. 5 BC - 65 AD
----
Good is the enemy of Excellent. Talent is not necessary for Excellence.
Persistence is necessary for Excellence. And Persistence is a Decision.

--

--

--
Eureka, CA
Options:  Reply • Quote
Re: Is there an AppleScript command for "Force Quit Classic"?
Posted by: Seacrest
Date: April 11, 2006 05:04PM
[scriptbuilders.net]





I am not Ryan Seacrest, and I do not approve this message.
Options:  Reply • Quote
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 162
Record Number of Users: 186 on February 20, 2020
Record Number of Guests: 5122 on October 03, 2020