Re: Run AppleScript in the background (hide window)
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