• 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: Problem with writing a list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with writing a list


  • Subject: Re: Problem with writing a list
  • From: Christopher Nebel <email@hidden>
  • Date: Tue, 2 Oct 2001 17:47:18 -0700

On Tuesday, October 2, 2001, at 12:57 AM, Jean-Marie Hoornaert wrote:

I have some problems with the "write... to..." command from the "Standard
additions" osax.

With a list like :

{"First", "Second", +data PICT ...;},

I get someting like (possibly the follow line will not be correctly
transmitted by mail) :

listTEXTFirstTEXTSecondPICTCC,qjF

(I trunc the PICT data)

And when I read the document, the result is this impossible to use character
sequence.

Without the PICT, I can use an other item delimiter (tab for example), but
with the PICT data, I've got en erreur when I do this.

If you just say "read my_file as list", it should correctly reconstruct the original list, PICT and all, from that otherwise impossible-to-use data. Reading and writing lists as raw data didn't work reliably prior to AppleScript 1.6, but I think it worked if the list was completely flat (i.e., none of the items were lists or records.)


--Chris Nebel
AppleScript Engineering


  • Follow-Ups:
    • Re: Problem with writing a list
      • From: Sander Tekelenburg <email@hidden>
References: 
 >Problem with writing a list (From: Jean-Marie Hoornaert <email@hidden>)

  • Prev by Date: Re: Is there a "wake up" detector?
  • Next by Date: Re: Creating list references in handlers. Bad code or bug?
  • Previous by thread: Problem with writing a list
  • Next by thread: Re: Problem with writing a list
  • Index(es):
    • Date
    • Thread