• 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:to restate: check list routine
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re:to restate: check list routine


  • Subject: re:to restate: check list routine
  • From: Ken Dobson <email@hidden>
  • Date: Thu, 15 Mar 2001 18:24:09 -0500

on 3/15/01 12:19 PM, email@hidden at
email@hidden wrote:

> Message: 1
> Date: Wed, 14 Mar 2001 12:43:51 -0600
> From: Rick Plummer <email@hidden>
> Reply-To: email@hidden
> Organization: Artcraft, Inc. Imaging Dept.
> To: email@hidden
> Subject: to restate: check list routine
>
> I would like to generate a list of serial numbers for a run-only script.
> Then have a routine to check the list for a match, before running.

Don't know if you mean random numbers or a set of specific numbers from a
given starting point , but either way it would be easy enough to store them
in a property list

property thelist : {}

if length of thelist is less than 1 then
set thenumber to 1014356
repeat 15 times
set newnumber to thenumber + 1
set the end of thelist to newnumber
set thenumber to newnumber
end repeat
end if

if thelist contains 1014358 then
beep 3
end if


  • Prev by Date: More on Scripting Cumulus
  • Next by Date: Re: applescript-users digest, Vol 2 #501 - 14 msgs
  • Previous by thread: Re: to restate: check list routine
  • Next by thread: How to Get Quark to Replace found text with a Graphic
  • Index(es):
    • Date
    • Thread