Jump to content

Quit all Applications and then shut down


Recommended Posts

I can see that there are system commands existing for shut down and quit all applications , but i am not able to put them in a sequence .. such as .. i want to quit all applications and then shut down. 

 

Can anyone suggest me a way or even better a workflow?

 

thanks in advance

Link to comment

I can see that there are system commands existing for shut down and quit all applications , but i am not able to put them in a sequence .. such as .. i want to quit all applications and then shut down. 

 

Can anyone suggest me a way or even better a workflow?

 

thanks in advance

 

You could use the Quit All Applications workflows system command and then just use the AppleScript out item to shut down. Something similar to this...

tell application "System Events"
	tell process "Finder"
		click menu item "Shut Down" of menu "Apple" of menu bar 1
	end tell
end tell
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...