Back Up Problems with Preference file
Back Up Problems with Preference file
- Subject: Back Up Problems with Preference file
- From: Michael STEINWEDE <email@hidden>
- Date: Tue, 15 Oct 2002 13:12:37 +1000
I9m a new comer to AppleScript in OS X and have had very, very limited
experience of AS in OS 9.
I9m trying to backup my user files and it crashes on a preference file
called "com.apple.loginwindow.plist". When I check Show Info, it says the
owner is System.
When I temporarily move the file to the desktop and backed up the preference
folder, it backs up successfully. But I want to do back ups automatically
rather than manually moving and replacing this file each time.
I wrote this script, but I can9t even select the silly file, never mind move
it to the desktop.
tell application "Finder"
if file "com.apple.loginwindow.plist" of folder "Preferences" of
folder,
"Library" of folder "michaels" of folder "Users" exists then
say ("found it")
select "com.apple.loginwindow.plist" of folder "Preferences" of
folder ,
"Library" of folder "michaels" of folder "Users"
else
say ("can't find it")
end if
end tell
It keeps on coming up with this error message ...
Can9t get 3com.apple.loginwindow.plist" of
folder "Preferences" of folder "Library" of
folder "michaels" of folder "Users2. Access
not allowed.
I9ve read the AppleCare Knowledge Base Article ID: 86110, but it applies to
those using .Mac Backup, which I am not using. I want to use, say,
SilverKeeper (or some other application) to do my back ups.
So am I stuck with doing this manually, or can AS work around this problem?
Thanks for any help.
Michael.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.