• 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: applescript-users digest, Vol 2 #775 - 16 msgs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applescript-users digest, Vol 2 #775 - 16 msgs


  • Subject: Re: applescript-users digest, Vol 2 #775 - 16 msgs
  • From: "Marc K. Myers" <email@hidden>
  • Date: Sun, 17 Jun 2001 06:59:57 -0400
  • Organization: [very little]

I wrote:
> It runs very quickly, but I'd like to know how to use "decompose" to
> convert the parameter file to the nested list in a single step.

With a little help from Andy Wylie I figured this one out:

set theParams to (decompose theParams by "% = %" & return)

The missing piece of the puzzle (for me) was that the percent sign
serves to delimit multicharacter delimiters from other delimiters in the
"by" string.

Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074

[6/17/01 6:59:25 AM]


  • Follow-Ups:
    • Re: Using Akua Sweets' "decompose"
      • From: Andy Wylie <email@hidden>
  • Prev by Date: Memory usage in AppleScript... How to prevent out of memory errors?
  • Next by Date: Re: Copying Resource Files ???
  • Previous by thread: Synchronize Folders - A Script
  • Next by thread: Re: Using Akua Sweets' "decompose"
  • Index(es):
    • Date
    • Thread