Professional Documents
Culture Documents
save options enum
yes : Save the file.
no : Do not save the file.
ask : Ask the user whether or not to save the file.
print settings n
PROPERTIES
copies (integer) : the number of copies of a document to be printed
collating (boolean) : Should printed copies be collated?
starting page (integer) : the first page of the document to be printed
ending page (integer) : the last page of the document to be printed
pages across (integer) : number of logical pages laid across a physical page
pages down (integer) : number of logical pages laid out down a physical page
error handling (standard/detailed) : how errors are handled
fax number (text) : for fax number
target printer (text) : for target printer
application n [see also Terminal Suite] : The application‘s top-level scripting object.
ELEMENTS
contains windows.
PROPERTIES
name (text, r/o) : The name of the application.
frontmost (boolean, r/o) : Is this the frontmost (active) application?
version (text, r/o) : The version of the application.
RESPONDS TO
open, print, quit, get URL.
window n : A window.
ELEMENTS
contains tabs; contained by application.
PROPERTIES
name (text, r/o) : The full title of the window.
id (integer, r/o) : The unique identifier of the window.
index (integer) : The index of the window, ordered front to back.
bounds (rectangle) : The bounding rectangle of the window.
closeable (boolean, r/o) : Whether the window has a close box.
miniaturizable (boolean, r/o) : Whether the window can be minimized.
miniaturized (boolean) : Whether the window is currently minimized.
resizable (boolean, r/o) : Whether the window can be resized.
visible (boolean) : Whether the window is currently visible.
zoomable (boolean, r/o) : Whether the window can be zoomed.
zoomed (boolean) : Whether the window is currently zoomed.
frontmost (boolean) : Whether the window is currently the frontmost Terminal
window.
selected tab (tab) :
position (point) : The position of the window, relative to the upper left corner of
the screen.
Deprecated; use bounds instead.
origin (point) : The position of the window, relative to the lower left corner of the
screen.
Deprecated; use bounds instead.
size (point) : The width and height of the window
Deprecated; use bounds instead.
frame (rectangle) : The bounding rectangle, relative to the lower left corner of the
screen.
Deprecated; use bounds instead.
RESPONDS TO
close, print, save.
color n
tab n : A tab.
ELEMENTS
contained by windows.
PROPERTIES
number of rows (integer) : The number of rows displayed in the tab.
number of columns (integer) : The number of columns displayed in the tab.
contents (text, r/o) : The currently visible contents of the tab.
history (text, r/o) : The contents of the entire scrolling buffer of the tab.
busy (boolean, r/o) : Whether the tab is busy running a process.
processes (list of text, r/o) : The processes currently running in the tab.
selected (boolean) : Whether the tab is selected.
title displays custom title (boolean) : Whether the title contains a custom title.
custom title (text) : The tab’s custom title.
tty (text, r/o) : The tab’s TTY device.
current settings (settings set) : The set of settings which control the tab’s
behavior and appearance.
cursor color (color) : The cursor color for the tab.
Deprecated; use current settings instead.
background color (color) : The background color for the tab.
Deprecated; use current settings instead.
normal text color (color) : The normal text color for the tab.
Deprecated; use current settings instead.
bold text color (color) : The bold text color for the tab.
Deprecated; use current settings instead.
clean commands (list of text) : The processes which will be ignored when
checking whether a tab can be closed without showing a prompt.
Deprecated; use current settings instead.
title displays device name (boolean) : Whether the title contains the device
name.
Deprecated; use current settings instead.
title displays shell path (boolean) : Whether the title contains the shell path.
Deprecated; use current settings instead.
title displays window size (boolean) : Whether the title contains the tab’s size,
in rows and columns.
Deprecated; use current settings instead.
title displays file name (boolean) : Whether the title contains the file name.
Deprecated; use current settings instead.
font name (text) : The name of the font used to display the tab’s contents.
Deprecated; use current settings instead.
font size (integer) : The size of the font used to display the tab’s contents.
Deprecated; use current settings instead.
font antialiasing (boolean) : Whether the font used to display the tab’s contents
is antialiased.
Deprecated; use current settings instead.