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: Michelle Steiner <email@hidden>
- Date: Wed, 3 Dec 2008 12:14:23 -0700
On Dec 3, 2008, at 12:09 PM, Skeeve wrote: tell application "Terminal"
set my_win_id to id of window 1
set x to contents of window id my_win_id
end tell
That doesn't even compile.
Yes it does. "id" is not a property of "window"
Yes it is.
And it also runs.
tell application "Terminal" set my_win_id to id of window 1 set x to contents of window id my_win_id end tell
--> "Last login: Wed Dec 3 12:07:02 on console [GayDeceiver:~] michelle% ls Applications Logitech Public Desktop Movies Sites Desktop stuff Music browser - logitech Documents Pictures downloads Library Projects [GayDeceiver:~] michelle%
-- Michelle
-- The reason that so few people think outside the box is that all the pay and benefits are inside the box.
|
_______________________________________________
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