• 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
How do I return full numbers in a user in put list?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I return full numbers in a user in put list?


  • Subject: How do I return full numbers in a user in put list?
  • From: "Patrik B." <email@hidden>
  • Date: Sat, 12 Aug 2006 11:33:33 -0700

Hi,

I am trying to make a repeat loop through my text input as numbers but for
some reason I am not getting it right.

This is my code:

display dialog "Type in page numbers to pdf:" default answer "1,13"
set exportchoice to text returned of result
try
set text item delimiters to ","
end try
set exportchoice2 to text items of exportchoice
repeat with k in exportchoice2
--for some reason the above makes a pdf for 1 for , and for 1 and for 3.
Instead of just pdf'ing pages 1 and 13.

I am not too familiar with delimiters and the book I am reading does not
cover much on the subject so any help would be appreciated.

Best, Patrik

---------------------------------------------------------------
Find out what are human rights - Best visual demonstration ever!
http://www.youthforhumanrights.com/


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How do I return full numbers in a user in put list?
      • From: Yvan KOENIG <email@hidden>
  • Prev by Date: Re: How to match data in two different text files as fast as possible?
  • Next by Date: Re: How do I return full numbers in a user in put list?
  • Previous by thread: Re: Problem with curl
  • Next by thread: Re: How do I return full numbers in a user in put list?
  • Index(es):
    • Date
    • Thread