• 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
Get position of item in list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Get position of item in list


  • Subject: Get position of item in list
  • From: Joseph Weaks <email@hidden>
  • Date: Mon, 23 Jun 2003 14:12:32 -0500

I know how to do this with a repeat loop, but surely there's a syntax I can't figure out for

property: myList: {"foo","bar"}

set foobar to the position of "bar" in myList

-- looking for 2 as the result

Thanks,
Joe
_______________________________________________
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.

  • Prev by Date: Re: Why so few OSX Additions?
  • Next by Date: Re: Compiled AppleScripts for 'other' languages
  • Previous by thread: Mail Migration from OE Issues
  • Next by thread: Re: Get position of item in list
  • Index(es):
    • Date
    • Thread