Re: OS 9 vs. 0S X scripts?
Re: OS 9 vs. 0S X scripts?
- Subject: Re: OS 9 vs. 0S X scripts?
- From: Michelle Steiner <email@hidden>
- Date: Thu, 31 Oct 2002 13:13:21 -0700
On Thursday, October 31, 2002, at 11:24 AM, Mario Kolaszewski wrote:
You're absolutely right, thats exactly what I'm doing.
How do I get around that so the script works on both OSs.
Just remove "date"; it should work on both platforms.
P.S to make things clear this is what I'm doing
set foo to current date
set dateA to date string of foo --to get the string of the date
set dateB to date dateA --to perform date calculations
That should work on both platforms, but why do it that way when you can
do this:
set foo to current date
set dateA to date string of foo
set dateB to foo
dateA is a string, and dateB is a date.
But those three lines wouldn't cause the error. What would cause the
error is
set dateB to date dateA
--Michelle
We're not human beings having a spiritual experience.
We're spiritual beings having a human experience.
_______________________________________________
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.