The FooDoo Lounge

Terminal 1.3 Dictionary

Copyright © 1995-2001, Apple Computer, Inc. All rights reserved.

Index

  1. Terminal Suite

Terminal Suite: Terms and Events for controlling the Terminal application

Classes:

Class application: The Terminal program

Plural form:

applications

Elements:

window by name, by numeric index

Properties:

name plain text [r/o] -- the name of the application

version version [r/o] -- the version of the application

frontmost boolean -- Is this the active application?

Class window: A Terminal window

Plural form:

windows

Properties:

name plain text -- 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 plain text -- the custom title for the window

contents plain text [r/o] -- the currently visible contents of the window

history plain text [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 plain text -- the cursor color for the window

background color plain text -- the background color for the window

normal text color plain text -- the normal text color for the window

bold text color plain text -- 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?

Events:

count: Return the number of elements of a particular class within an object

count reference -- a reference to the objects to be counted

Result: integer -- the number of objects counted

do script: Run a UNIX shell script or command

do script plain text -- data to be passed to the Terminal application as the command line

[with command plain text] -- data to be passed to the Terminal application as the command line, deprecated, use direct parameter

[in reference] -- the window in which to execute the command

quit: Quit the Terminal application

quit

run: Run the Terminal application

run

 

|| url: http://www.foodoo.sunreal.com.au/info/dictionaries/Terminal_13_asDict.html
|| created: 10-May-03, 5:02 PM; updated: 10-May-03, 5:02 PM
|| size: 18972 bytes