Re: Terminal question
Re: Terminal question
- Subject: Re: Terminal question
- From: Christopher Nebel <email@hidden>
- Date: Mon, 4 Mar 2002 12:13:39 -0800
On Sunday, March 3, 2002, at 02:59 PM, Cornwall wrote:
How can I use AppleScript to run two lines in Terminal? At every
startup I need to open Terminal, cd to another directory, run an app
which resides there and then open another Terminal window and repeat
those steps for another app in another directory.
You can give several commands in one string by separating them with
semicolons, like this:
tell application "Terminal"
do script with command "cd /some/where; ./someapp1"
end tell
Yes, we know people want to send multiple commands to a single
designated window. I'm told it's coming in a future version.
--Chris Nebel
AppleScript Engineering
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.