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

Re: check list routine


  • Subject: Re: check list routine
  • From: JollyRoger <email@hidden>
  • Date: Thu, 15 Mar 2001 12:44:40 -0600

on 3/14/2001 4:25 PM, Arthur J Knapp at email@hidden wrote:

>> Date: Wed, 14 Mar 2001 06:38:03 -0600
>> From: Rick Plummer <email@hidden>
>> Subject: check list routine
>
>> Does anyone know how to check a list of strings to validate a script before
>> running?
>
> I'm afraid that I don't really understand what you mean. Let
> me know if the following is even close:

(snip)

Assuming this is indeed what Rick is asking for (he still has not clearly
outlined his problem), why not just do this:

property stringList : {"a", "b"}

on run
if stringList /= {"a", "b"} then
tell me to quit -- or "error number -128"
end if

-- continue with execution...

end run

Rick, if this is not what you are asking for, then please do give more
information than a single sentence so that we can help you.

JR


References: 
 >Re: check list routine (From: "Arthur J Knapp" <email@hidden>)

  • Prev by Date: Setting the default printer
  • Next by Date: ImageReady Droplet
  • Previous by thread: Re: check list routine
  • Next by thread: Scripting Explorer
  • Index(es):
    • Date
    • Thread