Re: Print text to Terminal
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