Reference
ApplicationProcess
, DeskAccessoryProcess
@Plural("processes") @Code("prcs") @Name("process") public interface Process extends Reference
Modifier and Type | Method | Description |
---|---|---|
TypeClass |
getCreatorType() |
The OSType of the creator of the process (the signature).
|
Reference |
getFile() |
The file from which the process was launched.
|
TypeClass |
getFileType() |
The OSType of the file type of the process.
|
String |
getName() |
The name of the process.
|
int |
getPartitionSpaceUsed() |
The number of bytes currently used in the process' partition.
|
Map<String,Object> |
getProperties() |
Returns all properties for an instance of this class.
|
int |
getTotalPartitionSize() |
The size of the partition with which the process was launched.
|
boolean |
isAcceptsHighLevelEvents() |
Is the process high-level event aware (accepts open application, open document, print document, and quit)?
|
boolean |
isAcceptsRemoteEvents() |
Does the process accept remote events?
|
boolean |
isFrontmost() |
Is the process the frontmost process?
|
boolean |
isHasScriptingTerminology() |
Does the process have a scripting terminology, i.e., can it be scripted?
|
boolean |
isVisible() |
Is the process' layer visible?
|
void |
setFrontmost(boolean frontmost) |
Is the process the frontmost process?
|
void |
setVisible(boolean visible) |
Is the process' layer visible?
|
cast, getApplicationReference, getObjectReference, getTypeClass, isInstanceOf
static final TypeClass CLASS
@Code("pnam") @Kind("property") @Name("name") @Type("text") String getName()
@Code("pvis") @Kind("property") @Name("visible") @Type("boolean") boolean isVisible()
@Code("pvis") @Kind("property") @Name("visible") @Type("boolean") void setVisible(boolean visible)
visible
- new property value@Code("pisf") @Kind("property") @Name("frontmost") @Type("boolean") boolean isFrontmost()
@Code("pisf") @Kind("property") @Name("frontmost") @Type("boolean") void setFrontmost(boolean frontmost)
frontmost
- new property value@Code("file") @Kind("property") @Name("file") @Type("specifier") Reference getFile()
@Code("asty") @Kind("property") @Name("file type") @Type("type") TypeClass getFileType()
@Code("fcrt") @Kind("property") @Name("creator type") @Type("type") TypeClass getCreatorType()
@Code("isab") @Kind("property") @Name("accepts high level events") @Type("boolean") boolean isAcceptsHighLevelEvents()
@Code("revt") @Kind("property") @Name("accepts remote events") @Type("boolean") boolean isAcceptsRemoteEvents()
@Code("hscr") @Kind("property") @Name("has scripting terminology") @Type("boolean") boolean isHasScriptingTerminology()
@Code("appt") @Kind("property") @Name("total partition size") @Type("integer") int getTotalPartitionSize()
@Code("pusd") @Kind("property") @Name("partition space used") @Type("integer") int getPartitionSpaceUsed()