• 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: Creating/saving/appending to files the Cocoa way
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating/saving/appending to files the Cocoa way


  • Subject: Re: Creating/saving/appending to files the Cocoa way
  • From: Robert DuToit <email@hidden>
  • Date: Sun, 17 Jan 2010 20:47:36 -0500

On Jan 17, 2010, at 8:29 PM, Shane Stanley wrote:

> On 18/1/10 12:09 PM, "Robert DuToit" <email@hidden> wrote:
>
>> It's not OBJ-C but I use 'echo' to write my log files...
>
> FWIW, in my simple test the rate for using "do shell script" was something
> like 120 writes a second.

I doesn't really matter in my case but looks like I'm a slow poke with echo! Are the do shell script commands all this slow?

Craig, I used just the '>>' in my case but since he wanted a tab delineated string I appended the new string to the old one first so the new text is not on a new line. Though there is a simple way to avoid the new line with echo, I think.

It interesting now since we have the OBJ-C methods in addition to AS and do shell script. So many choices. I am really enjoying ASOC now.

Rob


>
> --
> Shane Stanley <email@hidden>
> AppleScript Pro, April 2010, Florida <http://www.applescriptpro.com>
>
>
> _______________________________________________
> 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

 _______________________________________________
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

  • Follow-Ups:
    • Re: Creating/saving/appending to files the Cocoa way
      • From: Bill Hernandez <email@hidden>
    • Re: Creating/saving/appending to files the Cocoa way
      • From: Shane Stanley <email@hidden>
References: 
 >Re: Creating/saving/appending to files the Cocoa way (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Creating/saving/appending to files the Cocoa way
  • Next by Date: Re: Creating/saving/appending to files the Cocoa way
  • Previous by thread: Re: Creating/saving/appending to files the Cocoa way
  • Next by thread: Re: Creating/saving/appending to files the Cocoa way
  • Index(es):
    • Date
    • Thread