Re: Print text to Terminal
Re: Print text to Terminal
- Subject: Re: Print text to Terminal
- From: has <email@hidden>
- Date: Wed, 18 May 2005 20:51:15 +0100
Andrew Oliver wrote:
> > I want to send some text to Terminal, just for information's sake. How would
> > I do that?
>[...]
>No. The terminal dictionary doesn't support this kind of thing - and it's
>not really what it's designed for.
>
>If you're just looking for information logging consider using the normal
>console which Console.app can happily display for you in real-time
Second what Andrew says: use Console.app; that's what it's there for. Terminal.app is the wrong tool for the job.
If you're interested, the latest release of TextCommands provides a new command, 'log message', that writes an AppleScript value to the Console. It's a little rough at the moment - I've yet to write the code that'll format data as AppleScript-style values so for now they'll appear as their Python equivalents - and it's a bit limited in what can be logged as AppleScript won't allow you to pass application references, only AppleScript values. Still, it may interest you:
http://freespace.virgin.net/hamish.sanderson/index.html#textcommands
HTH
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