Re: how can I reliably query the correct terminal window?
Re: how can I reliably query the correct terminal window?
- Subject: Re: how can I reliably query the correct terminal window?
- From: Doug McNutt <email@hidden>
- Date: Wed, 3 Dec 2008 12:10:43 -0700
On Wed, Dec 3, 2008 at 1:37 PM, Skeeve <email@hidden> wrote:
I'm still working on Tiger (10.4.11) and I'm having a hard time finding out
how to query the correct Terminal window for it's content. Currently I'm
using "window 1" which is fine as long as I don't switch to another terminal
window while the script is running. Is there a way to get a reference to
that window so that I can always access it by this reference?
It's possible to give names to Terminal windows though it's easier in
AppleScript than in the Terminal GUI.
You can then do things like:
tell application "Terminal" to do script "some file" in window FUN
--
--> A fair tax is one that you pay but I don't <--
_______________________________________________
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