Re: Creating/saving/appending to files the Cocoa way
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