I've managed to reset the 'Date' to 'date', and my handler still fails with the exact same message.
BTW, your Explorer 2 removes the pipes on 'description'.
on setNSDatesSaving()
try
set TheSavingList to {}
set tempDate to my startDateTimeNSDAte
set theNSDate to current application's tempDate's |date|()
set theDateString to theNSDate's description()
set end of TheSavingList to theDateString as text
set tempDate to my finishDateTimeNSDAte
set theNSDate to current application's tempDate's |date|()
set theDateString to theNSDate's description()
set end of TheSavingList to theDateString as text
on error errmsg
display dialog "setNSDatesSaving " & errmsg
end try
return TheSavingList as list
end setNSDatesSaving
On 16/08/2014, at 5:33 PM, Shane Stanley <
email@hidden> wrote:
On 16 Aug 2014, at 1:20 pm, Brian Christmas <
email@hidden> wrote:
I'm using the date picker with the clock from your examples as my date pickers, but get an error when saving, unrecognized function date.
I bet you don't -- your code says you're using the unrecognized function Date, not date. Case matters.
set theToggleName to sender's title as text
"title" is a method, so it should be followed by parentheses. Yes, calling methods often works without including them, but it's lazy and unreliable.
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