• 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: List space seperator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List space seperator


  • Subject: Re: List space seperator
  • From: Wayne Melrose <email@hidden>
  • Date: Sun, 07 Aug 2011 18:53:35 +0200


On 7. aug. 2011, at 18:47, Evan Schoffstall wrote:

sorry, I left a blank before "paragraphs". "copy" should go before that word

-- 
Evan Schoffstall
Sent with Sparrow


OK.. Making more sense, but still, to me this just seems very verbose and unnecessary, from what I can tell this will still set 'theData' to the result of the shell script's paragraphs. And, from the test I just did, it did NOT return the result {{"aString","aString2"}} but rather the desired {"aString","aString2"} 

So do you already have 'theData' set to something? are you constantly appending to it? or are you only setting it one


set thedata to {}
copy paragraphs of (do shell script "cat ~/Desktop/test.txt") to the beginning of thedata
--> Result: {"aString","aString2"} 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >List space seperator (From: Evan Schoffstall <email@hidden>)
 >Re: List space seperator (From: Wayne Melrose <email@hidden>)
 >Fw: List space seperator (From: Evan Schoffstall <email@hidden>)
 >Re: List space seperator (From: Wayne Melrose <email@hidden>)
 >Re: List space seperator (From: Evan Schoffstall <email@hidden>)
 >Re: List space seperator (From: Wayne Melrose <email@hidden>)
 >Re: List space seperator (From: Evan Schoffstall <email@hidden>)

  • Prev by Date: Re: List space seperator
  • Next by Date: insect data problem
  • Previous by thread: Re: List space seperator
  • Next by thread: insect data problem
  • Index(es):
    • Date
    • Thread