Jump to content

Search the Community

Showing results for tags 'shut down'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Alfred 3
  • Make the Most of Alfred
    • Discussion & Help
    • Bug Reports
    • Alfred Feature Suggestions
    • Themes
  • Alfred Workflows
    • Share your Workflows
    • Workflow Help & Questions
  • Alfred v2 Themes
  • Alfred Remote for iOS
    • Alfred Remote Discussion & Help
    • Remote Connection Troubleshooting

Categories

  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Twitter


Website URL


Jabber


Location


Interests

Found 3 results

  1. Hi there, I am trying to create a workflow that unmounts a AFP network volume before Shut Down. I am using diskutil unmount command. Here's my workflow which doesn't seem to correct. When I execute diskutil unmount on the command line, the volume is unmounted successfully. Can anyone help me out with this? Language: bin/bash diskutil unmount /Volumes/myvolume
  2. Hello, I'm a freshman, but i made a small workflow, especially an applescript which allows you to shut down or restart your computer. Thats not really a big thing, but the script quits all apps before shutting down so that no app is reopened after restart. Additional the script ejects one or all mounted HDs. I need this small section in the script, because my mac wouldn't shut down if one special external HD is mounted while shutting down. I made three workflows/scripts, the first one only shuts down, the second makes a restart and the third combines both, all with the additional functions I mentioned at the beginning. I hope you can use it Only the shut down-script: display dialog "Your mac will shut down in 5 seconds!" with title "shut down" giving up after 5 tell application "System Events" to set quitapps to name of every application process whose visible is true and name is not "Finder" and name is not "Alfred" repeat with closeall in quitapps quit application closeall end repeat tell application "Finder" if (exists disk "Bildmaterial") then tell application "Finder" eject disk "Bildmaterial" end tell else shut down end if shut down end tell -> download the workflow Only the restart-script: display dialog "Your mac will restart in 5 seconds!" with title "restart" giving up after 5 tell application "System Events" to set quitapps to name of every application process whose visible is true and name is not "Finder" and name is not "Alfred" repeat with closeall in quitapps quit application closeall end repeat tell application "Finder" if (exists disk "Bildmaterial") then tell application "Finder" eject disk "Bildmaterial" end tell else restart end if restart end tell -> download the workflow One for all - shut down/restart: display dialog "Your mac will shut down in 5 seconds!" with title "shut down" buttons {"cancel", "restart", "shut down"} default button 3 giving up after 5 set button_pressed to the button returned of the result tell application "System Events" to set quitapps to name of every application process whose visible is true and name is not "Finder" and name is not "Alfred" repeat with closeall in quitapps quit application closeall end repeat if button_pressed is "shut down" then tell application "Finder" if (exists disk "Bildmaterial") then tell application "Finder" eject disk "Bildmaterial" end tell else shut down end if shut down end tell else if button_pressed is "restart" then tell application "Finder" if (exists disk "Bildmaterial") then tell application "Finder" eject disk "Bildmaterial" end tell else restart end if restart end tell end if tell application "Finder" if (exists disk "Bildmaterial") then tell application "Finder" eject disk "Bildmaterial" end tell else shut down end if shut down end tell -> download the complete workflow
  3. When I come to shut down I often use Alfred to "Quit All Applications" then the "Shut Down." I do this at the end of each day. I sported this bug, sometimes if you "Quit all" and "shut down" before all the apps have closed, my computer reboots and displays a message "Your computer had to restart because of a problem." I have noticed this nearly always happens when I tell Alfred to quit all, then shut down straight after. And because it sometimes takes a long time for all applications to close (usually an adobe program that just takes ages to quit), if I force quite the apps that are taking a while, then the mac shuts down, but the reboots instantly with the error message. Because I noticed this I have been telling Alfred to Quit all, and waiting a while for all the apps to close in their own time. Then I would Tell Alfred to shut down. This usually works, but occasionally the computer restarts and still tells me "Your computer had to restart because of a problem." Just thought I'd let you know as you might be able to fix it. Apart from that Alfred has been running great, it's one of my favourite apps!
×
×
  • Create New...