• 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: Paul Berkowitz <email@hidden>
  • Date: Mon, 02 Aug 2010 19:08:19 -0700
  • Thread-topic: List oddity

On 8/2/10 5:42 PM, "Stockly, Ed" <email@hidden> wrote:

>> 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
>
>
> Hmmm,  Not on Snow Leopard.  Here at work I'm on 10.4
>
> Tried with 'get' no joy. I'll try it on SL at home.
>
It works here on 10.5.8. But do it for both parts of the if/else:


if endMonth is not startMonth then
    set weekString to (get {item startMonth of mnths, startDay, "‹", item
endMonth of mnths, endDay}) as text
else
    set weekString to (get {item startMonth of mnths, startDay, "‹",
endDay}) as text
end if
display dialog weekString



--
Paul Berkowitz


 _______________________________________________
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: 
 >Re: List oddity (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Re: List oddity
  • Next by Date: Re: can this be simplified?
  • Previous by thread: Re: List oddity
  • Next by thread: Re: List oddity
  • Index(es):
    • Date
    • Thread