CleanReboot

July 28, 2011

Mac Os X

CleanRebootFollowing up with CleanShutDown, CleanReboot will reboot your system in just one click while disabling the save state feature.

It works in the exact the same as CleanShutDown; a fast and reliable way of rebooting your Mac without saving applications state.

GUI Scripting Version (Somewhat Cleaner)

Note: To fix the “Access to assistive devices disabled.” error follow these simple steps:

Go into System Preferences -> Personal -> Universal Access -> Check box at bottom for “Enable Access for Enabled Devices”.

After that, manually log out or reboot your system for changes to take effect. (Thanks Mccleodx for pointing this out!)

Download CleanReboot

Download 2.0.1


Changelog

2.0.1

– Script now works in any language.

2.0

– Changed working method. Instead of editing the defaults of “TALLogoutSavesState”, the application now interacts with Finder as if it was the user clicking the checkbox and then clicking the Shut Down option.

1.0

– Initial Release

 

– Shell Scripting Version (Use if GUI scripting conflicts with your system)

Download CleanRebootS

Download Shell Version


Changelog

Shell Version

– Uses shell scripting instead of GUI scripting

 


, , , , , , , , , , , , , , , , ,

Subscribe

Subscribe to our e-mail newsletter to receive updates.

13 Responses to “CleanReboot”

  1. mudguts Says:

    Puts system to sleep > wake > error msg > [Can’t get window 1 of <> “loginwindow” of application “System Events”. Invalid index.] > OK > nothing

  2. mudguts Says:

    See the error message didn’t reproduce properly on the site, here it is again:
    Can’t get window 1 of class prcs “loginwindow” of application “System Events”. Invalid index.

    • Victor A. Says:

      Hey Mud,

      I saw that you also have this same issue with CleanShutDown. I just uploaded CleanShutDown 2.0.2 which should fix this problem. Please give it a try and let me know if it works. If it does, I will also update CleanReboot to include the fix.

  3. Burnardo Says:

    The same fault happens to me (cleanshutdown.app version 2.0.2):

    “can’t get window 1 of <> “loginwindow” of application “System Events”. Invalid index.”

    Also, after having pressed the “edit” button in the opened app-window, not a shutdown occurs, but a restart.

    But love it, if the applications would work, though…

  4. Victor A. Says:

    Shell version uploaded. It should now work for those who had trouble with GUI Scripting.

  5. erix Says:

    thanks a lot !!!!

  6. Kiki Says:

    To the author: there’s a new apple menu item “Location” in 10.7.2. I think you should put that into consideration or one will get errors e.g. cleanreboot will put the Mac to sleep; cleanshutdown won’t work.
    A quick solution is, if your on 10.7.2 is to edit the main script-increase by one the part “click menu item”

    • Victor A. Says:

      Thanks. This is why many people also get the “Can’t get Window 1 …” error. When I get some time, I’ll update all the scripts to account for these changes in OS X.

      Another quick solution is using the S version of the script.

      Victor

  7. claus Says:

    cannot find my way here:
    Go into System Preferences -> Personal -> Universal Access -> Check box at bottom for “Enable Access for Enabled Devices”.

    please help 🙂

    • Victor A. Says:

      Drop the Personal on the path. It should be:

      System Preferences -> Universal Access -> Check box for “Enable Access for assistive devices”

      No idea how I messed up that path so bad :p

      Victor

Trackbacks/Pingbacks

  1. CleanLogOut | Victor Andreoni - August 13, 2011

    […] another application with the same goal as CleanShutDown and CleanReboot: provide a one-click solution to log out from your account without saving application’s […]

Leave a Reply

You must be logged in to post a comment.