Re: OS 9 vs. 0S X scripts?
Re: OS 9 vs. 0S X scripts?
- Subject: Re: OS 9 vs. 0S X scripts?
- From: Paul Berkowitz <email@hidden>
- Date: Thu, 31 Oct 2002 10:40:19 -0800
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.