AppleScript

Time Machine mit AppleScript ein- und ausschalten

Wenn man Time Machine in Snow Leopard per Applescript ein- und ausschalten will, dann kann man es so machen:

tell application "System Preferences"
      activate
      set current pane to pane "Time Machine"
end tell

tell application "System Events"
      tell application process "System Preferences"
            click button 6 of window "Time Machine" -- 6=Aus 7=Ein
      end tell
end tell