Re: Mail.app - dictionary implementation questions.
Re: Mail.app - dictionary implementation questions.
- Subject: Re: Mail.app - dictionary implementation questions.
- From: crooked-eye <email@hidden>
- Date: Tue, 2 Sep 2003 09:24:08 +0100
On Monday, September 1, 2003, at 03:19 pm, David Durkee wrote:
What appears to be the equivalent setting in Mail's .plist file isn't
a boolean, which may be a clue. It's called DeletionPolicy, and its
values on three accounts on my machine are set to "AfterInterval",
"RightAway", and "Never". Sounds like the AppleScript property may
have become disconnected from the actual preference and never fixed.
Thanks David, that makes the whole thing a lot clearer. It's not that
this property doesn't work, but that it has nothing to work on. I
should have noticed this before.
You could try manipulating the preference in the .plist file, but this
will be more difficult and won't work properly (if at all) if you do
it while the application is running.
Do you have any pointers as to how to do this. I did try to do it with
this script using Grep:
set mailAccts to do shell script "defaults read com.apple.mail
MailAccounts | grep -n DeletionPolicy" as string -- (line wrap)
But it just created a new DeletionPolicy key at the top level. The
proper key is embedded and I can't find a way to change an embedded key.
On Monday, September 1, 2003, at 09:04 am, John Delacour wrote:
You can sign up with ADC and report the bug(s) at
<http://developer.apple.com/bugreporter/>
I might just do that.
Thank you both for taking the time to help.
John Maisey
_______________________________________________
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.