• 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: List oddity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List oddity


  • Subject: Re: List oddity
  • From: Stan Cleveland <email@hidden>
  • Date: Mon, 02 Aug 2010 17:31:35 -0700

On Aug 2, 2010, at 4:59 PM, Stockly, Ed wrote:

> Here is a little script that creates a test string based on some dates,
> using specific month abbreviations.
>
>  I get an empty text string if I use this construct:
>
> set weekString to {item startMonth of mnths, startDay, "‹", item endMonth of
> mnths, endDay} as text
>
> But it works with this construct:
>
> set weekString to {item startMonth of mnths, startDay, "‹", item
> endMonth of mnths, endDay}
> WeekString as text
>
> Anyone seen this? Is this a bug?

Hi Ed,

You must be on Snow Leopard. An explicit "get" will help:

set weekString to (get {item startMonth of mnths, startDay, "‹", item endMonth of
mnths, endDay}) as text

Stan C. _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >List oddity (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: List oddity
  • Next by Date: Re: List oddity
  • Previous by thread: List oddity
  • Next by thread: Re: List oddity
  • Index(es):
    • Date
    • Thread