• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Please help with date format
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Please help with date format


  • Subject: Re: Please help with date format
  • From: Brian Christmas <email@hidden>
  • Date: Sat, 16 Aug 2014 19:58:31 +1000

G'day again Shane

I've managed to reset the 'Date' to 'date', and my handler still fails with the exact same message.

What on Earths going on?

BTW, your Explorer 2 removes the pipes on 'description'.

Regards

Santa

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.

-- 
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
  • Follow-Ups:
    • Re: Please help with date format
      • From: Shane Stanley <email@hidden>
References: 
 >Please help with date format (From: Brian Christmas <email@hidden>)
 >Re: Please help with date format (From: Shane Stanley <email@hidden>)
 >Re: Please help with date format (From: Brian Christmas <email@hidden>)
 >Re: Please help with date format (From: Shane Stanley <email@hidden>)
 >Re: Please help with date format (From: Brian Christmas <email@hidden>)
 >Re: Please help with date format (From: Shane Stanley <email@hidden>)
 >Re: Please help with date format (From: Brian Christmas <email@hidden>)
 >Re: Please help with date format (From: Shane Stanley <email@hidden>)
 >Re: Please help with date format (From: Brian Christmas <email@hidden>)
 >Re: Please help with date format (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Please help with date format
  • Next by Date: Re: Please help with date format
  • Previous by thread: Re: Please help with date format
  • Next by thread: Re: Please help with date format
  • Index(es):
    • Date
    • Thread