Re: NSDate
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