The FooDoo Lounge

Image Events 1.0 Dictionary

© Copyright 2002-2003 Apple Computer Inc., all rights reserved.

Index

  1. Standard Suite
  2. Text Suite
  3. Disk-Folder-File Suite
  4. Image Suite
  5. Image Events Suite

Standard Suite: Common classes and commands for most applications.

Classes:

Class application: An application's top level scripting object.

Plural form:

applications

Elements:

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

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

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

version Unicode text [r/o] -- The version of the application.

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

name Unicode text [r/o] -- The name of the application.

Class color: A color.

Plural form:

colors

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

Class document: A document.

Plural form:

documents

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

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

path Unicode text -- The document's path.

name Unicode text -- The document's name.

Class item: A scriptable object.

Plural form:

items

Properties:

class type class [r/o] -- The class of the object.

properties record -- All of the object's properties.

Class window: A window.

Plural form:

windows

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

zoomed boolean -- Whether the window is currently zoomed.

miniaturized boolean -- Whether the window is currently miniaturized.

name Unicode text -- The full title of the window.

floating boolean [r/o] -- Whether the window floats.

modal boolean [r/o] -- Whether the window is the application's current modal window.

miniaturizable boolean [r/o] -- Whether the window can be miniaturized.

visible boolean -- Whether the window is currently visible.

closeable boolean [r/o] -- Whether the window has a close box.

resizable boolean [r/o] -- Whether the window can be resized.

zoomable boolean [r/o] -- Whether the window can be zoomed.

id integer [r/o] -- The unique identifier of the window.

bounds bounding rectangle -- The bounding rectangle of the window.

titled boolean [r/o] -- Whether the window has a title bar.

index integer -- The index of the window in the back-to-front window ordering.

document document [r/o] -- The document whose contents are being displayed in the window.

Events:

close: Close an object.

close reference -- the object for the command

[saving yes/no/ask] -- Specifies whether 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 for the command

[each type class] -- The class of objects to be counted.

Result: integer -- the reply for the command

delete: Delete an object.

delete reference -- the object for the command

duplicate: Copy object(s) and put the copies at a new location.

duplicate reference -- the object for the command

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

[with properties record] -- Properties to be set in the new duplicated object(s).

exists: Verify if an object exists.

exists reference -- the object for the command

Result: boolean -- the reply for the command

get: Get the data for an object.

get reference -- the object for the command

Result: anything -- the reply for the command

make: Make a new object.

make

[with properties record] -- The initial values for properties of the object.

new type class -- The class of the new object.

[with data anything] -- The initial data for the object.

[at location reference] -- The location at which to insert the object.

Result: reference -- the reply for the command

move: Move object(s) to a new location.

move reference -- the object for the command

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

open: Open an object.

open alias -- The file(s) to be opened.

print: Print an object.

print alias -- The file(s) or document(s) to be printed.

quit: Quit an application.

quit reference -- the object for the command

[saving yes/no/ask] -- Specifies whether changes should be saved before quitting.

save: Save an object.

save reference -- the object for the command

[as Unicode text] -- The file type in which to save the data.

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

set: Set an object's data.

set reference -- the object for the command

to anything -- The new value.

Text Suite: A set of basic classes for text processing.

Classes:

Class attachment: Represents an inline text attachment. This class is used mainly for make commands.

Elements:

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

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

attachment 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

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

Properties:

<Inheritance> text [r/o] -- All of the properties of the superclass.

file name Unicode text -- The path to the file for the attachment

Class attribute run: This subdivides the text into chunks that all have the same attributes.

Plural form:

attribute runs

Elements:

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

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

attachment 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

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

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

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

font Unicode text -- The name of the font of the first character.

color color -- The color of the first character.

Class character: This subdivides the text into characters.

Plural form:

characters

Elements:

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

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

attachment 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

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

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

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

font Unicode text -- The name of the font of the first character.

color color -- The color of the first character.

Class paragraph: This subdivides the text into paragraphs.

Plural form:

paragraphs

Elements:

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

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

attachment 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

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

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

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

font Unicode text -- The name of the font of the first character.

color color -- The color of the first character.

Class text: Rich (styled) text

Elements:

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

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

attachment 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

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

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

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

font Unicode text -- The name of the font of the first character.

color color -- The color of the first character.

Class word: This subdivides the text into words.

Plural form:

words

Elements:

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

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

attachment 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

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

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

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

font Unicode text -- The name of the font of the first character.

color color -- The color of the first character.

Disk-Folder-File Suite: Terms and Events for controlling Disks, Folders, and Files

Classes:

Class Classic domain object: The Classic domain in the file system

Plural form:

Classic domain objects

Elements:

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

Properties:

<Inheritance> domain [r/o] -- All of the properties of the superclass.

control panels folder folder [r/o] -- The Control Panels folder

launcher items folder folder [r/o] -- The Launcher Items folder

control strip modules folder folder [r/o] -- The Control Strip Modules folder

extensions folder folder [r/o] -- The Extensions folder

desktop folder folder [r/o] -- The Classic Desktop folder

apple menu folder folder [r/o] -- The Apple Menu Items folder

fonts folder folder [r/o] -- The Fonts folder

shutdown folder folder [r/o] -- The Shutdown Items folder

startup items folder folder [r/o] -- The StartupItems folder

preferences folder folder [r/o] -- The Classic Preferences folder

system folder folder [r/o] -- The System folder

Class alias: An alias in the file system

Plural form:

aliases

Elements:

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

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

file package by name, by numeric index, before/after another element, as a range of elements, satisfying a test, by ID

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

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

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

Properties:

<Inheritance> disk item [r/o] -- All of the properties of the superclass.

version Unicode text [r/o] -- the version of the application bundle referenced by the alias (visible at the bottom of the "Get Info" window)

product version Unicode text [r/o] -- the version of the product (visible at the top of the "Get Info" window)

Class disk: A disk in the file system

Plural form:

disks

Elements:

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

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

file package by name, by numeric index, before/after another element, as a range of elements, satisfying a test, by ID

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

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

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

Properties:

<Inheritance> disk item [r/o] -- All of the properties of the superclass.

local volume boolean [r/o] -- Is the media a local volume (as opposed to a file server)?

format ProDOS format/UDF format/AppleShare format/UFS format/Apple Photo format/MS-DOS format/WebDAV format/audio format/NFS format/Mac OS format/unknown format/Mac OS Extended format/ISO 9660 format/High Sierra format/QuickTake format [r/o] -- the file system format of this disk

startup boolean [r/o] -- Is this disk the boot disk?

ignore privileges boolean -- Ignore permissions on this disk?

ejectable boolean [r/o] -- Can the media be ejected (floppies, CD's, and so on)?

capacity double integer [r/o] -- the total number of bytes (free or used) on the disk

free space double integer [r/o] -- the number of free bytes left on the disk

Class disk item: An item stored in the file system

Plural form:

disk items

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

package folder boolean [r/o] -- Is the disk item a package?

volume Unicode text [r/o] -- the volume on which the disk item resides

creation date anything [r/o] -- the date on which the disk item was created

visible boolean -- Is the disk item visible?

path Unicode text [r/o] -- the file system path of the disk item

container disk item [r/o] -- the folder or disk which has this disk item as an element

modification date anything -- the date on which the disk item was last modified

POSIX path Unicode text [r/o] -- the POSIX file system path of the disk item

URL Unicode text [r/o] -- the URL of the disk item

displayed name Unicode text [r/o] -- the name of the disk item as displayed in the User Interface

physical size double integer [r/o] -- the actual space used by the disk item on disk

size double integer [r/o] -- the logical size of the disk item

name Unicode text -- the name of the disk item

id Unicode text [r/o] -- the unique ID of the disk item

name extension Unicode text [r/o] -- the extension portion of the name

busy status boolean [r/o] -- Is the disk item busy?

Class domain: A domain in the file system

Plural form:

domains

Elements:

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

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

scripts folder folder [r/o] -- The Scripts folder

applications folder folder [r/o] -- The Applications folder

fonts folder folder [r/o] -- The Fonts folder

scripting additions folder folder [r/o] -- The Scripting Additions folder

utilities folder folder [r/o] -- The Utilities folder

preferences folder folder [r/o] -- The Preferences folder

speakable items folder folder [r/o] -- The Speakable Items folder

name Unicode text [r/o] -- the name of the domain

id Unicode text [r/o] -- the unique identifier of the domain

Folder Action scripts folder folder [r/o] -- The Folder Action Scripts folder

desktop pictures folder folder [r/o] -- The Desktop Pictures folder

Class file: A file in the file system

Plural form:

files

Properties:

<Inheritance> disk item [r/o] -- All of the properties of the superclass.

creator type Unicode text -- the OSType identifying the application that created the file

product version Unicode text [r/o] -- the version of the product (visible at the top of the "Get Info" window)

stationery boolean -- Is the file a stationery pad?

version Unicode text [r/o] -- the version of the file (visible at the bottom of the "Get Info" window)

file type Unicode text -- the OSType identifying the type of data contained in the file

Class file package: A file package in the file system

Plural form:

file packages

Elements:

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

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

file package by name, by numeric index, before/after another element, as a range of elements, satisfying a test, by ID

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

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

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

Properties:

<Inheritance> file [r/o] -- All of the properties of the superclass.

Class folder: A folder in the file system

Plural form:

folders

Elements:

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

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

file package by name, by numeric index, before/after another element, as a range of elements, satisfying a test, by ID

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

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

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

Properties:

<Inheritance> disk item [r/o] -- All of the properties of the superclass.

Class item: An item stored in the file system

Plural form:

items

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

name Unicode text -- the name of the item

id Unicode text [r/o] -- the unique ID of the item

Class local domain object: The local domain in the file system

Plural form:

local domain objects

Elements:

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

Properties:

<Inheritance> domain [r/o] -- All of the properties of the superclass.

Class network domain object: The network domain in the file system

Plural form:

network domain objects

Elements:

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

Properties:

<Inheritance> domain [r/o] -- All of the properties of the superclass.

Class system domain object: The system domain in the file system

Plural form:

system domain objects

Elements:

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

Properties:

<Inheritance> domain [r/o] -- All of the properties of the superclass.

Class user domain object: The user domain in the file system

Plural form:

user domain objects

Elements:

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

Properties:

<Inheritance> domain [r/o] -- All of the properties of the superclass.

music folder folder [r/o] -- The user's Music folder

favorites folder folder [r/o] -- The user's Favorites folder

movies folder folder [r/o] -- The user's Movies folder

public folder folder [r/o] -- The user's Public folder

pictures folder folder [r/o] -- The user's Pictures folder

desktop folder folder [r/o] -- The user's Desktop folder

sites folder folder [r/o] -- The user's Sites folder

documents folder folder [r/o] -- The user's Documents folder

temporary items folder folder [r/o] -- The Temporary Items folder

home folder folder [r/o] -- The user's Home folder

Events:

delete: Delete an object.

delete reference -- the object for the command

move: Move disk item(s) to a new location.

move disk item -- The disk item(s) to be moved.

to location reference -- The new location for the disk item(s).

Result: item -- the reply for the command

open: Open disk item(s) with the appropriate application.

open file -- The disk item(s) to be opened.

Result: file -- the reply for the command

Image Suite: Terms and Events for controlling Images

Classes:

Class display: A monitor connected to the computer

Plural form:

displays

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

name Unicode text [r/o] -- the name of the display

number unsigned integer [r/o] -- the number of the display

display profile profile [r/o] -- the profile for the display

Class image: An image contained in a file

Plural form:

images

Elements:

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

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

color space Eight channel/Eight color/Five channel/Five color/Seven channel/RGB/Lab/XYZ/Six channel/CMYK/Six color/Seven color/Named/Gray [r/o] -- color space of the image's color representation

resolution list [r/o] -- the pixel density of the image, in dots per inch, as a pair of integers

bit depth sixteen colors/color/four grays/black & white/thousands of colors/grayscale/two hundred fifty six grays/four colors/sixteen grays/millions of colors/best/two hundred fifty six colors/millions of colors plus [r/o] -- bit depth of the image's color representation

name Unicode text [r/o] -- the name of the image

dimensions list [r/o] -- the width and height of the image, respectively, in pixels, as a pair of integers

image file file [r/o] -- the file that contains the image

file type PICT/Photoshop/BMP/QuickTime Image/GIF/JPEG/MacPaint/JPEG2/SGI/PSD/TGA/Text/PDF/PNG/TIFF [r/o] -- file type of the image's file

location disk item [r/o] -- the file location of the image

Class metadata tag: A metadata tag: EXIF, IPDC, etc.

Plural form:

metadata tags

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

name Unicode text [r/o] -- the name of the tag

description Unicode text [r/o] -- the description of the tag's function

value item [r/o] -- the current setting of the tag

Class profile: A ColorSync ICC profile.

Plural form:

profiles

Properties:

<Inheritance> item [r/o] -- All of the properties of the superclass.

preferred CMM Unicode text [r/o] -- the preferred CMM of the profile

rendering intent absolute colorimetric intent/perceptual intent/saturation intent/relative colorimetric intent [r/o] -- the rendering intent of the profile

creation date anything [r/o] -- the creation date of the profile

device manufacturer Unicode text [r/o] -- the device manufacturer of the profile

location alias [r/o] -- the file location of the profile

size integer [r/o] -- the size of the profile in bytes

platform Unicode text [r/o] -- the intended platform of the profile

version Unicode text [r/o] -- the version number of the profile

connection space Lab/XYZ [r/o] -- the connection space of the profile

creator Unicode text [r/o] -- the creator type of the profile

quality best/normal/draft [r/o] -- the quality of the profile

name Unicode text [r/o] -- the description text of the profile

device class output/named/monitor/abstract/input/link/colorspace [r/o] -- the device class of the profile

device model integer [r/o] -- the device model of the profile

color space Eight channel/Eight color/Five channel/Five color/Seven channel/RGB/Lab/XYZ/Six channel/CMYK/Six color/Seven color/Named/Gray [r/o] -- the color space of the profile

Events:

close: Close an image

close reference -- the object for the command

[saving no/yes] -- Specifies whether changes should be saved before closing.

[saving in Unicode text] -- The file in which to save the image.

crop: Crop an image

crop reference -- the object for the command

to dimensions list -- the width and height of the new image, respectively, in pixels, as a pair of integers

embed: Embed an image with an ICC profile

embed reference -- the object for the command

with source profile -- the profile to embed in the image

flip: Flip an image

flip reference -- the object for the command

[horizontal boolean] -- flip horizontally

[vertical boolean] -- flip vertically

match: Match an image

match reference -- the object for the command

to destination profile -- the destination profile for the match

pad: Pad an image

pad reference -- the object for the command

to dimensions list -- the width and height of the new image, respectively, in pixels, as a pair of integers

rotate: Rotate an image

rotate reference -- the object for the command

to angle real -- rotate using an angle

save: Save an image to a file in one of various formats

save reference -- the object for the command

[as JPEG2/TIFF/JPEG/PICT/BMP/PSD/PNG/QuickTime Image] -- file type in which to save the image ( default is to make no change )

[PackBits boolean] -- Are the bytes to be compressed with PackBits? ( default is false, applies only to TIFF )

[icon boolean] -- Shall an icon be added? ( default is false )

[in Unicode text] -- file path in which to save the image, in HFS or POSIX form

Result: file -- the reply for the command

scale: Scale an image

scale reference -- the object for the command

[to size integer] -- scale using a max width/length

[by factor real] -- scale using a scalefactor

unembed: Remove any embedded ICC profiles from an image

unembed reference -- the object for the command

Image Events Suite: Terms and Events for controlling the Image Events application

Classes:

Class application: The Image Events application

Plural form:

applications

Elements:

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

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

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

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

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

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

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

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

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

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

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

Properties:

<Inheritance> application [r/o] -- All of the properties of the superclass.

preferred CMM Unicode text -- specifies preferred Color Management Module to use, or "automatic"

default Lab profile anything -- the default Lab profile

default RGB profile location file -- the default RGB profile location

system profile anything -- the default system profile

default Lab profile location file -- the default Lab profile location

default XYZ profile location file -- the default XYZ profile location

default RGB profile anything -- the default RGB profile

default XYZ profile anything -- the default XYZ profile

default Gray profile anything -- the default Gray profile

system profile location file -- the default system profile location

startup disk disk [r/o] -- the disk from which Mac OS X was loaded

default Gray profile location file -- the default Gray profile location

default CMYK profile anything -- the default CMYK profile

default CMYK profile location file -- the default CMYK profile location

profile folder alias [r/o] -- the ColorSync profile folder

quit delay unsigned integer -- the time in seconds the application will idle before quitting; if set to zero, idle time will not cause the application to quit

 

|| url: http://www.foodoo.sunreal.com.au/info/dictionaries/ImageEvents_10_asDict.html
|| created: 16-Aug-04, 8:48 PM; updated: 26-Sep-04, 3:24 PM
|| size: 121460 bytes