• 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: Send script to a certain Terminal window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Send script to a certain Terminal window


  • Subject: Re: Send script to a certain Terminal window
  • From: Gnarlodious <email@hidden>
  • Date: Thu, 03 Feb 2005 14:47:15 -0700

Entity jj uttered this profundity:

> set cmd to "date"
> set instanceName to "Applescript result"
> property windowName : missing value -- to instanceName & " ‹ bash"
> tell application "Terminal"
>   try
>       do script cmd in w
>   on error
>       do script "echo " & instanceName
>       tell front window to set custom title to instanceName
>       set w to item 1 of windows
>   end try
> end tell

Thanks, that works here too :=)

--
Social Security Privatization: a solution in search of a problem
                                            -- Gnarlodious

 _______________________________________________
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: 
 >Re: Send script to a certain Terminal window (From: jj <email@hidden>)

  • Prev by Date: applescript batching itself
  • Next by Date: Re: Curl, Applescript and Progress Bar
  • Previous by thread: Re: Send script to a certain Terminal window
  • Next by thread: applescript batching itself
  • Index(es):
    • Date
    • Thread