• 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: kai <email@hidden>
  • Date: Wed, 18 May 2005 01:57:37 +0100


On Wednesday, May 18, 2005, at 01:14 am, Gnarlodious wrote:

I want to send some text to Terminal, just for information's sake. How would
I do that?


The closest I can get is the "echo" command, but then I get a command AND
the text:


tell application "Terminal" to do script "echo 'I want to suppress this
command and only see the text...' " in front window

Is there a way to only print text to Terminal?

You could always do it using UI scripting...

----------------

tell application "System Events"
	set process "Terminal"'s frontmost to true
	keystroke "I want to suppress this command and only see the text..."
end tell

----------------

---
kai

_______________________________________________
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: Gnarlodious <email@hidden>
    • Re: Print text to Terminal
      • From: Gnarlodious <email@hidden>
    • Re: Print text to Terminal
      • From: Andrew Oliver <email@hidden>
References: 
 >Print text to Terminal (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: OFF: Help With Drive Rescue...
  • 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