• 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: Doug McNutt <email@hidden>
  • Date: Tue, 17 May 2005 19:18:09 -0600

At 18:14 -0600 5/17/05, Gnarlodious wrote:
>I want to send some text to Terminal, just for information's sake.

It's probably more than it's worth but you could write the text to a tempFile and then

tell application "Terminal" to do script "cat tempFile" in front window.

If you put a Mac return character in the file as the first character you can cause the first line of text with UNIX returns to overlay the cat instruction. A series of backspaces can also work. (Look at curl's progress bar for an example.)
--

--> Life begins at ovulation. Ladies should endeavor to get every young life fertilized. <--
 _______________________________________________
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

References: 
 >Print text to Terminal (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: Print text to Terminal
  • Next by Date: Re: Print text to Terminal
  • Previous by thread: Re: Print text to Terminal
  • Next by thread: Re: Print text to Terminal
  • Index(es):
    • Date
    • Thread