• 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: Odd behavior scripting Terminal's default window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Odd behavior scripting Terminal's default window


  • Subject: Re: Odd behavior scripting Terminal's default window
  • From: Martin Orpen <email@hidden>
  • Date: Fri, 04 Feb 2005 08:35:44 +0000

on 4/2/05 5:00 am, Gnarlodious wrote:

> It seems that when Terminal starts it can't set the window title for the
> default window.

It can, but you have to allow Terminal to finish doing whatever it is that
it needs to do on launch:

    tell application "Terminal"
       do script "echo 'Terminal launched'" in window 1
        delay 1
        set name of window 1 to "Applescript result"
    end tell

Or activate, delay and then do the command.

Dunno about "custom title" bit - that doesn't work for me (apart from
entering the string into the Window Prefs...).

--
Martin Orpen


 _______________________________________________
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

References: 
 >Odd behavior scripting Terminal's default window (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: Building applescript records with lists, accessing applescript records with strings
  • Next by Date: Re: Finder's insertion location
  • Previous by thread: Re: Odd behavior scripting Terminal's default window
  • Next by thread: return command of idle event handler
  • Index(es):
    • Date
    • Thread