Re: TextEdit, is it really that lame?
Re: TextEdit, is it really that lame?
- Subject: Re: TextEdit, is it really that lame?
- From: has <email@hidden>
- Date: Wed, 8 Mar 2006 03:14:10 +0000
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.
has
--
http://freespace.virgin.net/hamish.sanderson/
_______________________________________________
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