• 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: "email@hidden" <email@hidden>
  • Date: Mon, 2 Aug 2010 21:55:28 -0700

> I can't explain it, but I can reproduce it  - seeing the same thing on
> 10.6.4 Intel Mac Mini.

I can't explain it either.  Here's a bit more to ponder. Both Stan and Mark's 'get' suggestions work.

I thought the need for a 'get' involved an application.

ES

set bar to {"A", "C"}
set foo to {item 1 of bar, "B"} as text
display dialog foo
-->""

set foo to get ({item 1 of bar, "B"}) as text
display dialog foo
-->""

set foo to (get {item 1 of bar, "B"}) as text
display dialog foo
-->"AB"

set foo to {1, item 1 of bar, "B"} as text
display dialog foo
-->"1"

set foo to {1, get item 1 of bar, "B"} as text
display dialog foo
-->"1AB"

set foo to {1, get item 1 of bar, item 2 of bar} as text
display dialog foo
-->"1A"

set foo to {item 1 of bar, "B"}
-->AB
display dialog foo as text



 _______________________________________________
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

  • Follow-Ups:
    • Re: List oddity
      • From: Tommy Bollman <email@hidden>
References: 
 >Re: List oddity (From: "Stockly, Ed" <email@hidden>)
 >Re: List oddity (From: Michelle Steiner <email@hidden>)
 >Re: List oddity (From: Stan Cleveland <email@hidden>)
 >Re: List oddity (From: "email@hidden" <email@hidden>)
 >Re: List oddity (From: "Mark J. Reed" <email@hidden>)

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