• 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: weird TID?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird TID?


  • Subject: Re: weird TID?
  • From: Michelle Steiner <email@hidden>
  • Date: Thu, 23 Oct 2003 15:05:50 -0700

On Thursday, October 23, 2003, at 02:16 PM, Robert Poland wrote:

set startDate to text returned of (display dialog "Enter start date, form 1/30" default answer "1/30")
tell me to set startDate to date startDate as text
--> "Thursday, January 30, 2003 12:00:00 AM"

set AppleScript's text item delimiters to ","
set tempMonth to (text item 2 of startDate) --> January 30

set AppleScript's text item delimiters to {space}

I was unable to duplicate it, but did find this:

text items of tempMonth

--> {"", "January", "30"}

{text item 1 of tempMonth, text item 2 of tempMonth, text item 3 of tempMonth}
--> {"", "January", "30"}

--
The problem with political jokes is that too many of them get elected.
_______________________________________________
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: 
 >weird TID? (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: weird TID?
  • Next by Date: Eudora AppleScript Question...
  • Previous by thread: Re: weird TID?
  • Next by thread: Re: weird TID?
  • Index(es):
    • Date
    • Thread