• 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: NSDate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDate


  • Subject: Re: NSDate
  • From: Chris Page <email@hidden>
  • Date: Tue, 31 Aug 2010 01:05:02 -0700

[This older message caught my eye. I haven't looked to see if there was further discussion about this more recently.]

On Feb 2, 2010, at 2:36 AM, Shane Stanley wrote:

> But this fails:
>
> set x to "Monday, January 1, 2001 12:00:00 AM"
> date x


On Feb 4, 2010, at 8:18 PM, Shane Stanley wrote:

> On 5/2/10 2:57 PM, "Chris Page" <email@hidden> wrote:
>
>> Works for me in Script Editor (Mac OS X 10.6.2):
>
> Yes, it's fine in Script Editor and in applets, but it fails in an ASObC project. Coercions seem a bit pickier in ASObjC.

Note: The AppleScript part of AppleScript/Objective-C is, to the greatest extent possible, normal AppleScript. ASOC is primarily a bridge between the AppleScript and Objective-C runtimes, enabling you to send messages between them.

I suspect the issue here is that Xcode still has AppleScript Studio terminology in its dictionary, and that affects what happens when you compile/decompile scripts.

--
Chris Page

 The other, other AppleScript Chris

 _______________________________________________
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: NSDate
      • From: Philip Aker <email@hidden>
    • Re: NSDate
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Return 'do shell script' as an array
  • Next by Date: Re: NSDate
  • Previous by thread: Return 'do shell script' as an array
  • Next by thread: Re: NSDate
  • Index(es):
    • Date
    • Thread