• 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: Sequential Numbering
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sequential Numbering


  • Subject: Re: Sequential Numbering
  • From: "Nigel Garvey" <email@hidden>
  • Date: Sat, 17 Sep 2005 11:45:49 +0100

"email@hidden" wrote on Fri, 16 Sep 2005 14:36:44 -0400:

>Would some one please forward a repeat loop to do  the following:
>
>Make numbers starting with:
>
>0001
>
> and ending with"
>
>1000

I presume you mean "string representations of integers". This makes a
list of them:

  set intStrs to {}
  repeat with i from 10001 to 11000
    set end of intStrs to text 2 thru 5 of (i as string)
  end repeat


NG

 _______________________________________________
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

  • Prev by Date: Re: Running scripts from cron AND passing arguments. A solution.
  • Next by Date: if file exists script
  • Previous by thread: Re: Sequential Numbering
  • Next by thread: duplicate with "System Events"
  • Index(es):
    • Date
    • Thread