• 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
Changing terminal title - all or nothing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changing terminal title - all or nothing


  • Subject: Changing terminal title - all or nothing
  • From: Dan Shechter <email@hidden>
  • Date: Fri, 14 Mar 2008 22:53:36 +0200

Hello all,

Here is the script

<quote>
on run argv

tell application "Terminal"
set custom title of  front window  to   item 1 of argv

end tell
end run
</quote>

The problem is that it changes all the titles of all Terminal's windows, and not only the front window.

Why? :)

Terminal version : Version 2.0.1 (240)
BTW, it works well for iTerm...
Thanks,
Dan
_______________________________________________
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
  • Follow-Ups:
    • Re: Changing terminal title - all or nothing
      • From: "Mark J. Reed" <email@hidden>
    • Re: Changing terminal title - all or nothing
      • From: "Gary (Lists)" <email@hidden>
  • Prev by Date: File best practice questions
  • Next by Date: Re: File best practice questions
  • Previous by thread: Re: File best practice questions
  • Next by thread: Re: Changing terminal title - all or nothing
  • Index(es):
    • Date
    • Thread