• 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
Finder - List - Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finder - List - Question


  • Subject: Finder - List - Question
  • From: Oakley Masten <email@hidden>
  • Date: Wed, 11 Apr 2007 12:18:38 -0700 (PDT)

Thank you: Michelle Steiner, Kai and Deivy Petrescu
for your help on this question.  Here is the result
that works for me.

--this gets multiple input items and puts them into a
list variable
tell application "Finder"
	activate
	set theList to words of text returned of (display
dialog "eCodes to Add:  " & return & "Enter the
numbers separated by <Returns>" default answer return
& return & return)

	display dialog "Are these eCodes Correct?" & return &
theList
--Test if they really are a list
	repeat with x from 1 to number of items in theList
		set theItem to item x in theList
		display dialog "Item  " & x & "  is  " & theItem
	end repeat

end tell

this works great!

Thanks again
Oakley
 _______________________________________________
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: Finder - List - Question
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: applescript uninstaller delete itself & customizing applescript application bundle binary filename (CFBundleExecutable)
  • Next by Date: Re: Finder - List - Question
  • Previous by thread: Re: Finder - List - Question (long hopefully but good demo)
  • Next by thread: Re: Finder - List - Question
  • Index(es):
    • Date
    • Thread