• 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: Choose from List & Return Item Number
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Choose from List & Return Item Number


  • Subject: RE: Choose from List & Return Item Number
  • From: Rick Gordon <email@hidden>
  • Date: Mon, 21 Jan 2008 14:49:46 -0800

I ultimately went another route from Skeeve's or John Welch's suggestions.

What I was trying to do was set up an undo/redo history for InDesign, so that the user could choose through the list and undo or redo back (or forward) to the selected Undo/Redo entry.

I solved it by parsing the strings to include an item number in the string, and then being able to extract that number from the button returned string, and undo or redo the appropriate number of iterations.

Rick Gordon

------------------

On 1/21/08 at 4:44 AM -0800, Rick Gordon wrote in a message entitled
"Choose from List & Return Item Number":

>Is there some variant on the Choose from List routine from Standard Additions that would allow the user to choose from a list and return the item number of the chosen entry, rather than the item as a string or integer?

--

___________________________________________________

RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________________

WWW:   http://www.shelterpub.com
 _______________________________________________
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

  • Prev by Date: Re: Choose from List & Return Item Number
  • Next by Date: Re: Choose from List & Return Item Number
  • Previous by thread: Re: Choose from List & Return Item Number
  • Next by thread: XML parsing and appending
  • Index(es):
    • Date
    • Thread