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

weird TID?


  • Subject: weird TID?
  • From: Robert Poland <email@hidden>
  • Date: Thu, 23 Oct 2003 15:16:38 -0600

To: AppleScript
From: Robert Poland <email@hidden>
Subject: weird TID
Cc:
Bcc:
X-Attachments:

Hi,

The below doesn't seem to behave. Am I doing something wrong? Smile 2.5.7 and OS 10.2.8.

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}
set tempData1 to text item 2 of tempMonth --> should be 30 but I get January
set tempData to text item 1 of tempMonth --> January

TIA,
--
Bob Poland - Englewood, CO
http://www.ibrb.org/
_______________________________________________
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.

  • Follow-Ups:
    • Re: weird TID?
      • From: Michelle Steiner <email@hidden>
    • Re: weird TID?
      • From: Peter Beentje <email@hidden>
  • Prev by Date: Re: Address Book: add element to existing record
  • Next by Date: Re: Make Fetch Windows by shortcut call?
  • Previous by thread: RE: Make Fetch Windows by shortcut call
  • Next by thread: Re: weird TID?
  • Index(es):
    • Date
    • Thread