• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Print text to Terminal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Print text to Terminal
      • From: Barry Wainwright <email@hidden>
    • Re: Print text to Terminal
      • From: Gnarlodious <email@hidden>
  • Prev by Date: Re: Press run to run
  • Next by Date: [ann] TextCommands 0.3.0
  • Previous by thread: Re: Print text to Terminal
  • Next by thread: Re: Print text to Terminal
  • Index(es):
    • Date
    • Thread