Re: Terminal scripting
Re: Terminal scripting
- Subject: Re: Terminal scripting
- From: Shane Stanley <email@hidden>
- Date: Sun, 07 Apr 2002 08:05:56 +1000
On 7/4/02 7:16 AM +1000, Dave Balderstone, email@hidden,
wrote:
>
When I pass multiple commands to the Terminal, it's opening a new window
>
each time.
>
>
As I want to cd to a specific directory then run commands there, this is a
>
little annoying.
>
>
I've tried "tell window 1" and "tell window frontmost" but can't seem to
>
figure it out.
>
>
Has anyone found a solution to this?
From a recent post:
>
> 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
--
Shane Stanley, email@hidden
_______________________________________________
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.