• 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
Make new window in Terminal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Make new window in Terminal


  • Subject: Make new window in Terminal
  • From: David Crowe <email@hidden>
  • Date: Fri, 24 Sep 2004 11:58:35 -0400

Title: Make new window in Terminal
Sometimes you need to run a shell script in Terminal, rather than with "do shell script" (e.g. running ssh). This is particularly nice if you want to see what the script has done/is doing, something that's difficult if the script is running invisibly in the background.

This fails if the terminal has no windows open.

The question is, how do you persuade Terminal to open a new window for the script?

I naively tried:

tell application "Terminal"
    
make new window
end tell


and got the error NSArgumentsWrongScriptError

Do I need to specify values for the "at", "with data" and/or "with properties" elements of the command? And, if so, what do I put there?

- David Crowe
 _______________________________________________
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

  • Follow-Ups:
    • Re: Make new window in Terminal
      • From: Dave Balderstone <email@hidden>
  • Prev by Date: Re: Change type/creator
  • Next by Date: Re: Make new window in Terminal
  • Previous by thread: Re: Get HFS Path of POSIX Path?
  • Next by thread: Re: Make new window in Terminal
  • Index(es):
    • Date
    • Thread