The FooDoo Lounge

Scriptable Text Editor 1.1 Dictionary

Copyright Apple Computer, Inc. 1992-1993. All rights reserved.

Index

  1. Standard Suite
  2. Scriptable TE Suite

Standard Suite: Common terms for most applications

Classes:

Class application: An application program

Plural form:

applications

Elements:

document by numeric index, by name, as a range of elements, satisfying a test

window by numeric index, by name, as a range of elements, satisfying a test

Properties:

clipboard a list of anything -- contents of the clipboard

frontmost boolean [r/o] -- Is this the frontmost application?

name international text [r/o] -- the name

selection selection-object -- the selection visible to the user

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

text item delimiters list -- a list of all the text item delimiters

Class document: A document

Plural form:

documents

Elements:

character by numeric index, before/after another element, as a range of elements, satisfying a test

insertion point before/after another element

paragraph by numeric index, before/after another element, as a range of elements, satisfying a test

text as a range of elements

text item by numeric index, before/after another element, as a range of elements, satisfying a test

word by numeric index, before/after another element, as a range of elements, satisfying a test

Properties:

bounds bounding rectangle -- the boundary rectangle for the document

closeable boolean [r/o] -- Does the document have a close box?

titled boolean [r/o] -- Does the document have a title bar?

index integer -- the number of the document

floating boolean [r/o] -- Does the document float?

modal boolean [r/o] -- Is the document modal?

resizable boolean [r/o] -- Is the document resizable?

zoomable boolean [r/o] -- Is the document zoomable?

zoomed boolean -- Is the document zoomed?

name international text -- the title of the document

selection selection-object -- the selection visible to the user

visible boolean [r/o] -- Is the document visible?

modified boolean [r/o] -- Has the document been modified since the last save?

position point [r/o] -- upper left coordinates of the document

Class file: A file

Plural form:

files

Class insertion point: An insertion location between two objects

Plural form:

insertion points

Properties:

length integer [r/o] -- length of text object (in characters)

offset integer [r/o] -- offset of a text object from the beginning of the document (first char has offset 1)

font text -- the name of the font

size integer -- the size in points

style text style info -- the text style

uniform styles text style info [r/o] -- the text style

writing code 'intl' -- the script system and language

Class selection-object: the selection visible to the user

Elements:

character by numeric index, before/after another element, as a range of elements, satisfying a test

paragraph by numeric index, before/after another element, as a range of elements, satisfying a test

text as a range of elements

text item by numeric index, before/after another element, as a range of elements, satisfying a test

word by numeric index, before/after another element, as a range of elements, satisfying a test

Properties:

contents type class -- the contents of the selection

length integer [r/o] -- length of text object (in characters)

offset integer [r/o] -- offset of a text object from the beginning of the document (first char has offset 1)

font text -- the name of the font

size integer -- the size in points

style text style info -- the text style

uniform styles text style info [r/o] -- the text style

writing code 'intl' -- the script system and language

Class window: A window

Plural form:

windows

Elements:

character by numeric index, before/after another element, as a range of elements, satisfying a test

insertion point before/after another element

paragraph by numeric index, before/after another element, as a range of elements, satisfying a test

text as a range of elements

text item by numeric index, before/after another element, as a range of elements, satisfying a test

word by numeric index, before/after another element, as a range of elements, satisfying a test

Properties:

bounds bounding rectangle -- the boundary rectangle for the window

closeable boolean [r/o] -- Does the window have a close box?

titled boolean [r/o] -- Does the window have a title bar?

index integer -- the number of the window

floating boolean [r/o] -- Does the window float?

modal boolean [r/o] -- Is the window modal?

resizable boolean [r/o] -- Is the window resizable?

zoomable boolean [r/o] -- Is the window zoomable?

zoomed boolean -- Is the window zoomed?

name international text -- the title of the window

selection selection-object -- the selection visible to the user

visible boolean [r/o] -- is the window visible?

modified boolean [r/o] -- has the window been modified since the last save?

position point [r/o] -- upper left coordinates of window

Events:

close: Close an object

close reference -- the object to close

[saving yes/no/ask] -- Specifies whether or not changes should be saved before closing

[saving in alias] -- the file in which to save the object

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

count reference -- the object whose elements are to be counted

each type class -- the class of the elements to be counted. Keyword 'each' is optional in AppleScript

Result: integer -- the number of elements

data size: Return the size in bytes of an object

data size reference -- the object whose data size is to be returned

[as type class] -- the data type for which the size is calculated

Result: integer -- the size of the object in bytes

delete: Delete an element from an object

delete reference -- the element to delete

duplicate: Duplicate object(s)

duplicate reference -- the object(s) to duplicate

[to location reference] -- the new location for the object(s)

Result: reference -- to the duplicated object(s)

exists: Verify if an object exists

exists reference -- the object in question

Result: boolean -- true if it exists, false if not

get: Get the data for an object

get reference -- the object whose data is to be returned

[as a list of type class] -- the desired types for the data, in order of preference

Result: anything -- The data from the object

make: Make a new element

make

new type class -- the class of the new element. Keyword 'new' is optional in AppleScript

[at location reference] -- the location at which to insert the element

[with data anything] -- the initial data for the element

[with properties record] -- the initial values for the properties of the element

Result: reference -- to the new object(s)

move: Move object(s) to a new location

move reference -- the object(s) to move

to location reference -- the new location for the object(s)

Result: reference -- to the object(s) after they have been moved

open: Open the specified object(s)

open reference -- list of objects to open

print: Print the specified object(s)

print reference -- list of objects to print

quit: Quit an application program

quit

[saving yes/no/ask] -- Specifies whether or not to save currently open documents

save: Save an object

save reference -- the object to save

[in alias] -- the file in which to save the object

[as type class] -- the file type of the document in which to save the data

set: Set an object's data

set reference -- the object to change

to anything -- the new value

Scriptable TE Suite: Suite pertaining to Scriptable Text Editor

Classes:

Class character: A character

Plural form:

characters

Elements:

character by numeric index, before/after another element, as a range of elements, satisfying a test

insertion point before/after another element

paragraph by numeric index, before/after another element, as a range of elements, satisfying a test

text as a range of elements

text item by numeric index, before/after another element, as a range of elements, satisfying a test

word by numeric index, before/after another element, as a range of elements, satisfying a test

Properties:

length integer [r/o] -- length of text object (in characters)

offset integer [r/o] -- offset of a text object from the beginning of the document (first char has offset 1)

font text -- the name of the font

size integer -- the size in points

style text style info -- the text style

uniform styles text style info [r/o] -- the text style

writing code 'intl' -- the script system and language

Class paragraph: A paragraph

Plural form:

paragraphs

Elements:

character by numeric index, before/after another element, as a range of elements, satisfying a test

insertion point before/after another element

paragraph by numeric index, before/after another element, as a range of elements, satisfying a test

text as a range of elements

text item by numeric index, before/after another element, as a range of elements, satisfying a test

word by numeric index, before/after another element, as a range of elements, satisfying a test

Properties:

length integer [r/o] -- length of text object (in characters)

offset integer [r/o] -- offset of a text object from the beginning of the document (first char has offset 1)

font text -- the name of the font

size integer -- the size in points of the first character

style text style info -- the text style of the first character

uniform styles text style info [r/o] -- the text styles that are uniform throughout the paragraph

Class text: Text

Elements:

character by numeric index, before/after another element, as a range of elements, satisfying a test

insertion point before/after another element

paragraph by numeric index, before/after another element, as a range of elements, satisfying a test

text as a range of elements

text item by numeric index, before/after another element, as a range of elements, satisfying a test

word by numeric index, before/after another element, as a range of elements, satisfying a test

Properties:

length integer [r/o] -- length of text object (in characters)

offset integer [r/o] -- offset of a text object from the beginning of the document (first char has offset 1)

font text -- the name of the font

size integer -- the size in points

style text style info -- the text style

uniform styles text style info [r/o] -- the text style

writing code 'intl' -- the script system and language

Class text item: A text item

Plural form:

text items

Elements:

character by numeric index, before/after another element, as a range of elements, satisfying a test

insertion point before/after another element

paragraph by numeric index, before/after another element, as a range of elements, satisfying a test

text as a range of elements

text item by numeric index, before/after another element, as a range of elements, satisfying a test

word by numeric index, before/after another element, as a range of elements, satisfying a test

Properties:

length integer [r/o] -- length of text object (in characters)

offset integer [r/o] -- offset of a text object from the beginning of the document (first char has offset 1)

font text -- the name of the font

size integer -- The size in points of the first character

style text style info -- The text style of the first character

uniform styles text style info -- The text styles that are uniform throughout the item

writing code 'intl' -- the script system and language

Class text style info: On and Off styles of text run

Properties:

on styles a list of plain/bold/italic/outline/shadow/underline [r/o] -- the styles that are on for the text

off styles a list of plain/bold/italic/outline/shadow/underline [r/o] -- the styles that are off for the text

Class word: A word

Plural form:

words

Elements:

character by numeric index, before/after another element, as a range of elements, satisfying a test

insertion point before/after another element

paragraph by numeric index, before/after another element, as a range of elements, satisfying a test

text as a range of elements

text item by numeric index, before/after another element, as a range of elements, satisfying a test

word by numeric index, before/after another element, as a range of elements, satisfying a test

Properties:

length integer [r/o] -- length of text object (in characters)

offset integer [r/o] -- offset of a text object from the beginning of the document (first char has offset 1)

font text -- the name of the font

size integer -- the size in points of the first character

style text style info -- the text style of the first character

uniform styles text style info -- the text styles that are uniform throughout the word

writing code 'intl' -- the script system and language

Events:

copy: Copy an object to the clipboard

copy reference -- the object to copy to the clipboard

cut: Cut an object to the clipboard

cut reference -- the object to cut to the clipboard

paste: Paste an object from the clipboard

paste reference

revert: Restore the object to its last saved state

revert reference -- the object to revert

select: Select the specified object

select reference -- the object to select

 

|| url: http://www.foodoo.sunreal.com.au/info/dictionaries/STE_11asDict.html
|| created: 4-Aug-03, 9:48 PM; updated: 4-Aug-03, 2:48 PM
|| size: 61123 bytes