Re: Send multiple commands to one Shell
Re: Send multiple commands to one Shell
- Subject: Re: Send multiple commands to one Shell
- From: "Stephen Swift" <email@hidden>
- Date: Fri, 07 Jan 2005 00:27:50 -0500
Michelle Steiner writes:
On Jan 6, 2005, at 5:15 AM, Stephen Swift wrote:
I am trying to figure out a way to get applescript to do a command (or
insert text) into an open Terminal window (so I can do many commands in
that one window).
Why not use "do shell script"? Separate the commands with a semi colon.
Because I don't have them all up front. The script idles in the background
and sends a command upon a trigger.
Something like this:
on run
tell application terminal
activate
end run
on idle
if BOOL then
--send a command to an open terminal window
end if
return 10
end idle
-- Michelle
--
Prius: Kicks Gas
_______________________________________________
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