• 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
Scripting Terminal.app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Scripting Terminal.app


  • Subject: Scripting Terminal.app
  • From: Jean-Baptiste LE STANG <email@hidden>
  • Date: Sun, 27 Apr 2003 10:22:26 +0200

Yes I just discovered that to, I was nearly sure that you could do it this way. But if you look with care what is going on when you run the script, you will see a window that appears and then dissapear. I 'm sorry for giving you false hope.

test the following to see the problem :

tell application "Terminal"
activate
make new window at end of windows with properties {size:{800, 800}, visible:true}
end tell

You'll have to use Philippe's method to create a new window.

JB

Le dimanche, 27 avr 2003, ` 02:45 Europe/Paris, John Baltutis a icrit :

On 4/26/03, Philippe GRUCHET <email@hidden> wrote:

The following is working too:

tell application "Terminal" to make new window at the end of windows

In SE 2.0, OS X 10.2.5, AS 1.9.1, if Terminal is not running, it launches
Terminal, and reports the result as:
->window id 596 of application "Terminal"
run the script with Terminal running and it reports:
->window id 602 of application "Terminal"
run it again and get a new id result.

However, click on the menu item Window and see there is only one window
present. Bottom line. It launches Terminal and opens a window if Terminal
is not running. When running, it doesn't do anythiing except return a new
window id in the result, but the new windows don't exist. Maybe I'm just
missing something here.
_______________________________________________
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.
_______________________________________________
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.

  • Prev by Date: Re: Script Dummy
  • Next by Date: Re: Executing an AppleScript on a networked computer
  • Previous by thread: Re: Scripting Terminal.app
  • Next by thread: Re: Scripting Terminal.app
  • Index(es):
    • Date
    • Thread