Re: A Text View for AppleScript [solved]
Re: A Text View for AppleScript [solved]
- Subject: Re: A Text View for AppleScript [solved]
- From: Jerry Krinock <email@hidden>
- Date: Thu, 01 Mar 2012 19:45:33 -0800
Thanks for all the comments.
On 2012 Mar 01, at 08:26, Mr. Barry Wainwright wrote:
> Two alternatives…
Your first alternative is to use Console.app instead of TextEdit.app. I tested your code and indeed it works. But I don't like the sidebar, and since Console.app is not scriptable I can't control the experience very much.
Second alternative is to 'say' the feedback. Yes, I did that until my script got too big :))
---------------------
On 2012 Mar 01, at 08:50, Mel Charters wrote:
> Have you tried Tex-Edit Plus?
I just looked at it, but I don't want to add 9 MB (compressed) to my little script package, and I presume that shipping it would violate license terms.
---------------------
On 2012 Mar 01, at 08:03, Craig D. Sutherland wrote:
> you could use the Standard Additions scripting addition's File Read/Write suite to create a text file/log, then open the file in TextEdit.
Yes, that's like what I'd been doing until today.
> define that TextEdit is the app you want to use by using
>
> tell application "Finder" to set appName to name of application file id "com.apple.textedit"
Good, that looks like it would solve the conflict with old CalorieKing.
---------------------
However, by the time I read this last message I had already written my little Cocoa app. Using TextEdit was always a fragile kludge. I put my Cocoa app, and a demo AppleScript, up on GitHub. All public domain. Info in the ReadMe.markdown file…
https://github.com/jerrykrinock/ScriptView
_______________________________________________
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