• 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: OS 9 vs. 0S X scripts?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: AppleScript's script size limit
  • Next by Date: Re: AppleScript's script size limit
  • Previous by thread: FoundSet in FileMaker email to Outlook as BCC
  • Next by thread: Re: applescript-users digest, Vol 3 #1017 - 14 msgs
  • Index(es):
    • Date
    • Thread