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