• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Run AppleScript in the background (hide window)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run AppleScript in the background (hide window)


  • Subject: Re: Run AppleScript in the background (hide window)
  • From: "Gary (Lists)" <email@hidden>
  • Date: Sat, 16 Feb 2008 14:59:08 -0500
  • Thread-topic: Run AppleScript in the background (hide window)

"Mathieu Thouvenin" wrote:

> Hi Gary,
>
>> That depends on what Time Machine settings.  (They're aren't many.)
>
> Just to turn ON and OFF Time Machine basically.
>
>> I believe 'on/off' and the backup interval are all changeable by
>> script,
>> without any use for the GUI.
>>
>> Use 'defaults write' or other Plist editing tool.
>
> How? I don't really know how to do that (I'm new to Applescript).
>
>> (We recently had a brief mention of this, specifically about chaning
>> the
>> Time Machine backup interval. Check the archives. Search "Time
>> Machine".)
>
> I've searched on the archives of this lists and the apple script
> studio one but I haven't found anything about Time Machine and scripts.
>
> Can you help me?

Sure.

Run this AS (all one line):

do shell script "defaults write /Library/Preferences/com.apple.TimeMachine
AutoBackup -boolean NO"


That will turn TM off, of course. Switch the 'NO' to 'YES' to turn back on.

--
Gary


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Run AppleScript in the background (hide window) (From: Mathieu Thouvenin <email@hidden>)

  • Prev by Date: Applescript crash
  • Next by Date: Can't Make "File" into Type File
  • Previous by thread: Re: Run AppleScript in the background (hide window)
  • Next by thread: Re: AppleScript-Users Digest, Vol 5, Issue 102
  • Index(es):
    • Date
    • Thread