• 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: "Mark J. Reed" <email@hidden>
  • Date: Mon, 2 Aug 2010 23:58:10 -0400

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

But inserting an explicit "get" works at the individual item level:

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


On Mon, Aug 2, 2010 at 11:47 PM, email@hidden <email@hidden> wrote:
>
> On Aug 2, 2010, at 7:05pm, Stan Cleveland wrote:
>
>> Did you put parentheses around the "get"? I do get the error without them.
>>
>> Otherwise, I wonder why it works OMM? I'm running 10.6.4 on an Intel Macbook Pro. There are no scripting additions loaded and I've re-verified that the script works. (Two different dialog boxes pop up, both saying "Aug. 8 < 15".) Below is the code again, as it is OMM. Am I overlooking something?
>
>
> OK, this, I believe, reduces the issue to the simplest terms.
>
> I am running 10.6.4 on an Intel Macbook.  But I have numerous scripting additions loaded.
>
> When I run this (in SE and SD) I get an empty dialog, and then a dialog with AB.
>
>
>
> set bar to {"A"}
> set foo to {item 1 of bar, "B"} as text
> display dialog foo
> set foo to {item 1 of bar, "B"}
> 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
>



--
Mark J. Reed <email@hidden>
 _______________________________________________
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: "email@hidden" <email@hidden>
    • Re: List oddity
      • From: Shane Stanley <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>)

  • 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