Re: TextEdit, is it really that lame?
Re: TextEdit, is it really that lame?
- Subject: Re: TextEdit, is it really that lame?
- From: Bill Briggs <email@hidden>
- Date: Tue, 7 Mar 2006 23:30:50 -0400
At 3:14 AM +0000 3/8/06, has wrote:
>Bill Briggs wrote:
>
>>I almost never use TextEdit for anything (abundance of better text editors), but I have a need to do something with it this week. I note that running the following
>>
>>tell application "TextEdit"
>>tell document 1
>>make new paragraph at end of paragraphs with data "Hello World"
>>end tell
>>end tell
>>
>>doesn't make a new paragraph. Repeated runs just stack words into the first paragraph. It appears that the only way to get a new paragraph in a TextEdit document is to put in a slug of text with a return in it. Is this thing really that lame?
>
>To be fair to TextEdit, it's actually Cocoa Scripting's standard Text Suite implementation that's crap. (This is one of its less significant flaws.) This means that all applications that use the standard Cocoa Scripting implementation are similarly affected. File feature requests and bug reports, and perhaps some day these sorts of problems might finally get fixed in the Cocoa Scripting framework, which would be good.
As I look at the applications I use in the run of the day, it seems that Cocoa doesn't figure in the picture. FrameMaker for technical docs, AlphaX for text editing, Tex-Edit Plus if scripting text, Eudora for mail, FileMaker Developer, MatLab, Terminal, Script Debugger, and that's about 98% of my computer usage. Not a Cocoa bean in sight. But I still have vivid memories of when Mail was released, being in a hotel room trying to script it after having scripted Eudora for years. What a fright and a fight that was. But there was a Mail developer on the list for a while and I was under the impression that some of the abominations were fixed.
- web
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden