• 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: Gnarlodious <email@hidden>
  • Date: Tue, 17 May 2005 21:19:44 -0600

Entity kai uttered this profundity:

> 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

Oops, I spoke too soon. When Terminal receives a return it executes the
string as a command. You can enclose it in single quotes to suppress the
execution but then the return interprets it as an echo. The end result is
there's no difference between the above method and using echo.

-- Gnarlie


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

  • Prev by Date: Re: Print text to Terminal
  • Next by Date: Re: Image Capture Scripting dictionary is missing in Tiger
  • Previous by thread: Re: Print text to Terminal
  • Next by thread: Re: Print text to Terminal
  • Index(es):
    • Date
    • Thread