Re: How can I add items to user defaults.
Re: How can I add items to user defaults.
- Subject: Re: How can I add items to user defaults.
- From: Shane Stanley <email@hidden>
- Date: Tue, 05 May 2015 21:32:03 +1000
On 5 May 2015, at 8:51 pm, Brian Christmas <email@hidden> wrote:
>
> How can I add objects (a date) to the standard user defaults please?
The short answer is that you can't: you can only add objects of the classes supported by property lists, and that doesn't include AppleScript dates.
But I'm puzzled by your defaultsTwo. There can only ever be one instance of user defaults, which you already have in your defaults variable, so I can't see the what you're trying to achieve with defaultsTwo.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden