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: Skeeve <email@hidden>
- Date: Wed, 03 Dec 2008 20:40:15 +0100
Michelle Steiner schrieb:
That doesn't even compile.
Yes it does.
On 10.5 I guess. See what I wrote in my first mail:
I'm still working on Tiger (10.4.11)
"id" is not a property of "window"
Yes it is.
No:
window n : A Terminal window
elements
contained by application.
properties
name (string) : the title of the window
index (integer) : the number of the window
bounds (bounding rectangle) : the boundary rectangle for the window,
relative to the upper left corner of the screen
has close box (boolean, r/o) : Does the window have a close box?
has title bar (boolean, r/o) : Does the window have a title bar?
floating (boolean, r/o) : Does the window float?
miniaturizable (boolean, r/o) : Is the window miniaturizable?
miniaturized (boolean) : Is the window miniaturized?
modal (boolean, r/o) : Is the window modal?
resizable (boolean, r/o) : Is the window resizable?
visible (boolean, r/o) : Is the window visible?
zoomable (boolean, r/o) : Is the window zoomable?
zoomed (boolean) : Is the window zoomed?
position (point) : the upper left coordinates of the window, relative to
the upper left corner of the screen
origin (list) : the lower left coordinates of the window, relative to
the lower left corner of the screen
size (list) : the width and height of the window
frame (list) : the origin and size of the window
title displays device name (boolean) : Does the title for the window
contain the device name?
title displays shell path (boolean) : Does the title for the window
contain the shell path?
title displays window size (boolean) : Does the title for the window
contain the window size?
title displays file name (boolean) : Does the title for the window
contain the file name?
title displays custom title (boolean) : Does the title for the window
contain a custom title?
custom title (string) : the custom title for the window
contents (string, r/o) : the currently visible contents of the window
history (string, r/o) : the contents of the entire scrolling buffer of
the window
number of rows (integer) : the number of rows in the window
number of columns (integer) : the number of columns in the window
cursor color (string) : the cursor color for the window
background color (string) : the background color for the window
normal text color (string) : the normal text color for the window
bold text color (string) : the bold text color for the window
busy (boolean, r/o) : Is the window busy running a process?
processes (list, r/o) : a list of the currently running processes
frontmost (boolean) : Is the window in front of the other Terminal windows?
_______________________________________________
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