• 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: Random character String
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Random character String


  • Subject: Re: Random character String
  • From: "Marc K. Myers" <email@hidden>
  • Date: Wed, 16 Mar 2005 13:59:32 -0500

On Mar 16, 2005, at 12:22 PM, Todd Geist <email@hidden>:
Hello Everyone,

I need a routine to generate a Random string of characters. It should be 8
to 10 letters long and I think I want to only include UPPERCASE letters.


Can anyone point me in the right direction?

set x to "" repeat 10 times set x to x & (ASCII character (random number from 65 to 90)) end repeat x

Marc [3/16/05  1:59:15 PM]

_______________________________________________
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: Address Book Scripts
  • Next by Date: Re: Random character String
  • Previous by thread: Re: Random character String
  • Next by thread: Parsing text from a string
  • Index(es):
    • Date
    • Thread