Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'd like to disable and enable Time Machine at will via Quicksilver.

'nuff said.

Do you're thang, nerds. :)

share|improve this question
add comment

3 Answers 3

Just realized I could copy it out of another script I use to detect displays.

Here they are:

Disable:

tell application "System Preferences" to activate
    tell application "System Events"
        tell process "System Preferences"
                click menu item "Time Machine" of menu "View" of menu bar 1
                tell button "OFF" of window 1 to click
        end tell
    end tell
tell application "System Preferences" to quit

Enable:

tell application "System Preferences" to activate
tell application "System Events"
        tell process "System Preferences"
                click menu item "Time Machine" of menu "View" of menu bar 1
                tell button "ON" of window 1 to click
        end tell
end tell
tell application "System Preferences" to quit

Hope that helps someone else. If there's a better solution, I'm all ears!

share|improve this answer
add comment

You can also use this AppleScript to start a Time Machine backup:

do shell script "/System/Library/CoreServices/backupd.bundle/Contents/Resources/backupd-helper &"

or use a similar shell script.

I think Time Machine runs way too often. Instead, I leave Time Machine disabled and use Awaken to run this script twice daily.

share|improve this answer
add comment

I'm using TimeMachineEditor for modifying the schedule

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.