Re: Wanted: A Text View for AppleScript
Re: Wanted: A Text View for AppleScript
- Subject: Re: Wanted: A Text View for AppleScript
- From: Mel Charters <email@hidden>
- Date: Thu, 01 Mar 2012 09:50:24 -0700
- X_cmae_category: 0,0 Undefined,Undefined
Have you tried Tex-Edit Plus?
Mel Charters
On Mar 1, 2012, at 6:36 AM, Jerry Krinock wrote:
When users have trouble with my Cocoa app, I ask them to run my data-
gathering AppleScript which sometimes takes a few minutes to
complete. While the script begins, it opens a new TextEdit
document, and periodically indicates its progress by adding a line
of text saying what data has just been gathered.
It was a quick hack. I've had a few problems with it, like
yesterday when, it turned out, someone has the CalorieKing Nutrition
and Exercise Manager installed on their Mac. This cute little app
was apparently generated by Qt [1] for Classic Mac OS and OS X. Its
Info.plist does not have an OS X bundle identifier. It has only an
old-fashioned Bundle Creator Code which is 'ttxt', the same as
TextEdit's. So that's why AppleScript is mistaking it for TextEdit.
So, anyhow, I've had enough headaches with TextEdit that about I'm
ready to write a little scriptable Cocoa app which will open a
window with a text view, then accept 'add text' AppleScript
commands. I'll ship this as a helper inside my script bundle.
Before I do this, does anyone have a better idea?
Thanks,
Jerry
[1] http://en.wikipedia.org/wiki/Qt_(framework)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden