• 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: Scripting Leopard terminal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scripting Leopard terminal


  • Subject: Re: Scripting Leopard terminal
  • From: broz <email@hidden>
  • Date: Fri, 30 Nov 2007 09:38:00 -0500
  • Thread-topic: Scripting Leopard terminal

Thanks!!
I had done quite a bit of searching for a solution and had not seen what you
suggested. Looks like Matthew Lambie is using System Events to go thru the
UI of Terminal. The Terminal dictionary indicates I should be able to create
the tabs directly.

AppleScript can be challenging...

Thanks again!


some time around 11.29.2007 10:37 PM, someone named Philip Aker at
email@hidden carefully typed these words:

> On 2007-11-29, at 19:22, broz wrote:
>
>> At risk of sounding like an idiot...
>>
>> How can I tell terminal app to open a new tab in the frontmost window?
>
> Look for a post by Matthew Lambie near the beginning of this month
> (Nov 2 ?) in the archives.
>
>>
>> This does not work. I get an error back from the terminal "AppleEvent
>> handler failed"
>>
>>
>> tell application "Terminal"
>>     set frontWindow to window 1
>>     tell frontWindow
>>         set newTab to make new tab with properties {number of rows:50,
>> number of columns:80}
>> -- do more stuff here, once I fix the above item...
>>     end tell
>> end tell
>
>
> Philip Aker
> echo email@hidden@nl | tr a-z@. p-za-o.@
>
>
>

-- 

Richard Brosnahan
Editor in Chief
Broz News
http://broznews.org

A fanatic is someone who can¹t change his mind and won¹t change the subject.
Sir Winston Churchill, statesman






 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Scripting Leopard terminal (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: Keeping a text-entry in the background, or a work-around
  • Next by Date: Re: Leopard Server vs Client [OT]
  • Previous by thread: Re: Scripting Leopard terminal
  • Next by thread: Re: Keeping a text-entry in the background, or a work-around
  • Index(es):
    • Date
    • Thread