Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OS 9 vs. 0S X scripts?



On 10/31/02 9:47 AM, "Mario Kolaszewski" <email@hidden> wrote:

> Running a script on OS X which works fine on OS 9,
> produces the following execution error:
> Can't get date(date "Thursday, October 31, 2002 12.00:00 AM")
>
> Can anyone point me in the right direction, please.

it looks like the script is faulty in attempting to treat a date as a string
and trying to apply 'date' data type again, a second time. Probably in OS 9
you had a scripting addition which silently coerced the first date to
string. Why don't you find the place in the script where it's doing this and
correct it? If you run the script in Script Editor, it will select the
offending line. Either remove 'date' there, or earlier, wherever you first
get the date from. Where is it coming from? You're providing virtually no
information whatsoever. You need to submit the relevant part(s) of the
script.

--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >OS 9 vs. 0S X scripts? (From: Mario Kolaszewski <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.