beautypg.com

Apple AppleScript Finder Guide User Manual

Page 89

background image

C H A P T E R 2

Finder Objects

Object Class Definitions

77

items in the Apple Menu Items folder, and its name changes to Remove Extras

after the extra items have been added to that folder.
If the value of Extras is false, the first part of the second If statement moves

the contents of the Apple Menu Extras folder into the Apple Menu Items folder,

changes the name of the alias file to Remove Extras, and sets the value of
Extras

to true.

If the value of Extras is true, the second part of the second If statement

moves all items in the Apple Menu Items folder that begin with an @ symbol

into the Apple Menu Extras folder, changes the name of the alias file to Add

Extras, and sets the value of Extras to false.

Process

2

An object of object class Process is a running process.

PROPERTIES

creator type

A four-character code that indicates the creator type of the

application from which the process was launched.

Class:

String

Modifiable:

No

file

A reference to the file from which the process was launched.

Class:

Reference

Modifiable:

No

file type

A four-character code that indicates the file type of the file.

Class:

String

Modifiable:

No

frontmost

A Boolean value that indicates whether the process is the

frontmost process (true) or not (false).

Class:

Boolean

Modifiable:

Yes

name

The name of the process.

Class:

Reference

Modifiable:

No