Shane, thanks for that, but my next question is..
How do I send and receive NS Dates in an array, please. I’ve tried all sorts of formats (number, integer, text) but can’t work out how to do it.
The method actually building the array to send actually stops the array building, without an error, when adding the NSDate as below.
Regards
Brian
On the sending script
set p to 3.16 set tempDate to my makeNSDateFrom:my MMWorkingDate set end of temp to tempDate
On the receiving script
set x to x + 1 set tempNSDate to item x of temp set my Workingdate to my makeASDateFrom:tempNSDate
On 10 Feb 2015, at 5:20 pm, Shane Stanley < email@hidden> wrote:
On 10 Feb 2015, at 5:13 pm, Brian Christmas < email@hidden> wrote:
I’ve got a handler that writes a few variables to a .plist file, and works OK until I try and save it with a Date as an item.
You can save NSDate dates fine.
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
|