How do I return full numbers in a user in put list?
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