Tag Info

Hot answers tagged

1

You can use the following in an AppleScript to shutdown the system: tell application "System Events" to shut down If you really want to click the menu items you can go straight to clicking the "Shut Down" button with the following: tell application "System Events" to click menu item "Shut Down" of menu 1 ¬ of menu bar item "Apple" of menu bar 1 of ...


1

If you only have a few lines of output, you'd want to assign it to a variable and then display a confirmation dialog showing the output. add Action "Set Value of Variable" enter a new variable, e.g. output add Action "Ask for Confirmation" in the message field, enter the variable name declared above. While typing the variable name, Automator will suggest ...



Only top voted, non community-wiki answers of a minimum length are eligible