• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Terminal scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Terminal scripting
      • From: Dave Balderstone <email@hidden>
References: 
 >Terminal scripting (From: Dave Balderstone <email@hidden>)

  • Prev by Date: Re: 'Could not save changes...' error
  • Next by Date: Re: Terminal scripting
  • Previous by thread: Terminal scripting
  • Next by thread: Re: Terminal scripting
  • Index(es):
    • Date
    • Thread