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

Re: Finder - List - Question


  • Subject: Re: Finder - List - Question
  • From: deivy petrescu <email@hidden>
  • Date: Tue, 10 Apr 2007 19:04:11 -0400


On Apr 10, 2007, at 18:21, kai wrote:


On 10 Apr 2007, at 23:08, Michelle Steiner wrote:

On Apr 10, 2007, at 2:57 PM, Oakley Masten wrote:

set theList to to text returned of (display dialog
"Codes to Add:   " default answer "503") as list

<snip>

Any ideas?

set theList to text returned of (display dialog "Codes to Add:" & return & "Enter the numbers separated by commas." default answer "503") as list
set text item delimiters to ","
set theList to theList as list

Or:

set theList to paragraphs of text returned of (display dialog ¬
"Enter codes separated by a return:" default answer return & return & return)


---
kai


Or:

set theList to words of text returned of (display dialog "Codes to Add: " default answer "503")

provided the numbers are separated by commas, spaces, etc...

Deivy

_______________________________________________
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>
References: 
 >Finder - List - Question (From: Oakley Masten <email@hidden>)
 >Re: Finder - List - Question (From: Michelle Steiner <email@hidden>)
 >Re: Finder - List - Question (From: kai <email@hidden>)

  • Prev by Date: Re: Finder - List - Question
  • Next by Date: Re: Finder - List - Question
  • Previous by thread: Re: Finder - List - Question
  • Next by thread: Re: Finder - List - Question
  • Index(es):
    • Date
    • Thread