Modifier and Type | Field | Description |
---|---|---|
static Set<Class<?>> |
APPLICATION_CLASSES |
All classes belonging to this application.
|
static TypeClass |
CLASS |
Modifier and Type | Method | Description |
---|---|---|
void |
activate(Reference theWindowToActivateIfNotSpecifiedActivatesTheFinder) |
Activate the specified window (or the Finder).
|
void |
cleanUp(Reference theWindowToCleanUp,
Property theOrderInWhichToCleanUpTheObjectsNameIndexDateEtc) |
Arrange items in window nicely (only applies to open windows in icon view that are not kept arranged).
|
void |
close(Reference theObjectToClose) |
Close an object.
|
void |
copy() |
(NOT AVAILABLE YET) Copy the selected items to the clipboard (the Finder must be the front application).
|
int |
count(Reference theObjectWhoseElementsAreToBeCounted,
TypeClass theClassOfTheElementsToBeCounted) |
Return the number of elements of a particular class within an object.
|
default int |
countAliasFiles() |
|
int |
countAliasFiles(String filter) |
|
default int |
countApplicationFiles() |
|
int |
countApplicationFiles(String filter) |
|
default int |
countClippings() |
|
int |
countClippings(String filter) |
|
default int |
countClippingWindows() |
|
int |
countClippingWindows(String filter) |
|
default int |
countContainers() |
|
int |
countContainers(String filter) |
|
default int |
countDisks() |
|
int |
countDisks(String filter) |
|
default int |
countDocumentFiles() |
|
int |
countDocumentFiles(String filter) |
|
default int |
countFiles() |
|
int |
countFiles(String filter) |
|
default int |
countFinderWindows() |
|
int |
countFinderWindows(String filter) |
|
default int |
countFolders() |
|
int |
countFolders(String filter) |
|
default int |
countInternetLocationFiles() |
|
int |
countInternetLocationFiles(String filter) |
|
default int |
countItems() |
|
int |
countItems(String filter) |
|
default int |
countPackages() |
|
int |
countPackages(String filter) |
|
default int |
countWindows() |
|
int |
countWindows(String filter) |
|
int |
dataSize(Reference theObjectWhoseDataSizeIsToBeReturned,
TypeClass theDataTypeForWhichTheSizeIsCalculated) |
Return the size in bytes of an object.
|
Reference |
delete(Reference theItemToDelete) |
Move an item from its container to the trash.
|
Reference |
duplicate(Reference theObjectSToDuplicate,
Reference theNewLocationForTheObjectS,
boolean specifiesWhetherOrNotToReplaceItemsInTheDestinationThatHaveTheSameNameAsItemsBeingDuplicated,
boolean specifiesWhetherOrNotToAutorouteItemsDefaultIsFalseOnlyAppliesWhenCopyingToTheSystemFolder,
boolean specifiesWhetherOrNotToCopyPermissionsOwnershipAsIs) |
Duplicate one or more object(s).
|
void |
eject(Reference theDiskSToEject) |
Eject the specified disk(s).
|
void |
empty(Reference EmptyAndEmptyTrashBothDoTheSameThing,
boolean Obsolete) |
Empty the trash.
|
void |
erase(Reference theItemsToErase) |
(NOT AVAILABLE) Erase the specified disk(s).
|
boolean |
exists(Reference theObjectInQuestion) |
Verify if an object exists.
|
AliasFile |
getAliasFile(int index) |
|
AliasFile |
getAliasFile(Id id) |
|
default AliasFile[] |
getAliasFiles() |
|
AliasFile[] |
getAliasFiles(String filter) |
|
ApplicationFile |
getApplicationFile(int index) |
|
ApplicationFile |
getApplicationFile(Id id) |
|
default ApplicationFile[] |
getApplicationFiles() |
|
ApplicationFile[] |
getApplicationFiles(String filter) |
|
Reference |
getClipboard() |
(NOT AVAILABLE YET) the Finder’s clipboard window.
|
Clipping |
getClipping(int index) |
|
Clipping |
getClipping(Id id) |
|
default Clipping[] |
getClippings() |
|
Clipping[] |
getClippings(String filter) |
|
ClippingWindow |
getClippingWindow(int index) |
|
ClippingWindow |
getClippingWindow(Id id) |
|
default ClippingWindow[] |
getClippingWindows() |
|
ClippingWindow[] |
getClippingWindows(String filter) |
|
ComputerObject |
getComputerContainer() |
The computer location (as in Go > Computer).
|
Container |
getContainer(int index) |
|
Container |
getContainer(Id id) |
|
default Container[] |
getContainers() |
|
Container[] |
getContainers(String filter) |
|
DesktopObject |
getDesktop() |
The desktop.
|
File |
getDesktopPicture() |
The desktop picture of the main monitor.
|
Disk |
getDisk(int index) |
|
Disk |
getDisk(Id id) |
|
default Disk[] |
getDisks() |
|
Disk[] |
getDisks(String filter) |
|
DocumentFile |
getDocumentFile(int index) |
|
DocumentFile |
getDocumentFile(Id id) |
|
default DocumentFile[] |
getDocumentFiles() |
|
DocumentFile[] |
getDocumentFiles(String filter) |
|
File |
getFile(int index) |
|
File |
getFile(Id id) |
|
default File[] |
getFiles() |
|
File[] |
getFiles(String filter) |
|
Preferences |
getFinderPreferences() |
Various preferences that apply to the Finder as a whole.
|
FinderWindow |
getFinderWindow(int index) |
|
FinderWindow |
getFinderWindow(Id id) |
|
default FinderWindow[] |
getFinderWindows() |
|
FinderWindow[] |
getFinderWindows(String filter) |
|
Folder |
getFolder(int index) |
|
Folder |
getFolder(Id id) |
|
default Folder[] |
getFolders() |
|
Folder[] |
getFolders(String filter) |
|
Folder |
getHome() |
The home directory.
|
Reference |
getInsertionLocation() |
The container in which a new folder would appear if “New Folder” was selected.
|
static Application |
getInstance() |
Returns an instance for application Finder.
|
InternetLocationFile |
getInternetLocationFile(int index) |
|
InternetLocationFile |
getInternetLocationFile(Id id) |
|
default InternetLocationFile[] |
getInternetLocationFiles() |
|
InternetLocationFile[] |
getInternetLocationFiles(String filter) |
|
Item |
getItem(int index) |
|
Item |
getItem(Id id) |
|
default Item[] |
getItems() |
|
Item[] |
getItems(String filter) |
|
String |
getName() |
The Finder’s name.
|
Package |
getPackage(int index) |
|
Package |
getPackage(Id id) |
|
default Package[] |
getPackages() |
|
Package[] |
getPackages(String filter) |
|
String |
getProductVersion() |
The version of the System software running on this computer.
|
Map<String,Object> |
getProperties() |
Returns all properties for an instance of this class.
|
Reference |
getSelection() |
The selection in the frontmost Finder window.
|
Disk |
getStartupDisk() |
The startup disk.
|
TrashObject |
getTrash() |
The trash.
|
String |
getVersion() |
The version of the Finder.
|
Window |
getWindow(int index) |
|
Window |
getWindow(Id id) |
|
default Window[] |
getWindows() |
|
Window[] |
getWindows(String filter) |
|
boolean |
isFrontmost() |
Is the Finder the frontmost process?
|
boolean |
isVisible() |
Is the Finder’s layer visible?
|
Reference |
make(TypeClass theClassOfTheNewElement,
Reference theLocationAtWhichToInsertTheElement,
Reference whenCreatingAnAliasFileTheOriginalItemToCreateAnAliasToOrWhenCreatingAFileViewerWindowTheTargetOfTheWindow,
Map<String,Reference> theInitialValuesForThePropertiesOfTheElement) |
Make a new element.
|
<T extends Reference> |
make(Class<T> klass) |
Make a new element.
|
Reference |
move(Reference theObjectSToMove,
Reference theNewLocationForTheObjectS,
boolean specifiesWhetherOrNotToReplaceItemsInTheDestinationThatHaveTheSameNameAsItemsBeingMoved,
List givesAListInLocalWindowCoordinatesOfPositionsForTheDestinationItems,
boolean specifiesWhetherOrNotToAutorouteItemsDefaultIsFalseOnlyAppliesWhenMovingToTheSystemFolder) |
Move object(s) to a new location.
|
void |
open(Reference listOfObjectsToOpen,
Reference theApplicationFileToOpenTheObjectWith,
Map<String,Reference> theInitialValuesForThePropertiesToBeIncludedWithTheOpenCommandSentToTheApplicationThatOpensTheDirectObject) |
Open the specified object(s).
|
void |
openvirtuallocation(String theLocationToOpen) |
Private event to open a virtual location.
|
void |
print(Reference listOfObjectsToPrint,
Map<String,Reference> optionalPropertiesToBeIncludedWithThePrintCommandSentToTheApplicationThatPrintsTheDirectObject) |
Print the specified object(s).
|
void |
quit() |
Quit the Finder.
|
void |
restart() |
Restart the computer.
|
void |
reveal(Reference theObjectToBeMadeVisible) |
Bring the specified object(s) into view.
|
void |
select(Reference theObjectToSelect) |
Select the specified object(s).
|
void |
setDesktopPicture(File desktopPicture) |
The desktop picture of the main monitor.
|
void |
setFrontmost(boolean frontmost) |
Is the Finder the frontmost process?
|
void |
setSelection(Reference selection) |
The selection in the frontmost Finder window.
|
void |
setVisible(boolean visible) |
Is the Finder’s layer visible?
|
void |
shutDown() |
Shut Down the computer.
|
void |
sleep() |
Put the computer to sleep.
|
Reference |
sort(Reference aListOfFinderObjectsToSort,
Property thePropertyToSortTheItemsByNameIndexDateEtc) |
Return the specified object(s) in a sorted list.
|
void |
update(Reference theItemToUpdate,
boolean onlyUpdateIfNecessaryIEAFinderWindowIsOpenDefaultIsFalse,
boolean registerApplicationsDefaultIsTrue) |
Update the display of the specified object(s) to match their on-disk representation.
|
cast, getApplicationReference, getObjectReference, getTypeClass, isInstanceOf
static final TypeClass CLASS
@Kind("command") @Name("open") void open(Reference listOfObjectsToOpen, @Parameter("using") Reference theApplicationFileToOpenTheObjectWith, @Parameter("with properties") Map<String,Reference> theInitialValuesForThePropertiesToBeIncludedWithTheOpenCommandSentToTheApplicationThatOpensTheDirectObject)
listOfObjectsToOpen
- list of objects to opentheApplicationFileToOpenTheObjectWith
- the application file to open the object withtheInitialValuesForThePropertiesToBeIncludedWithTheOpenCommandSentToTheApplicationThatOpensTheDirectObject
- the initial values for the properties, to be included with the open command sent to the application that opens the direct object@Kind("command") @Name("print") void print(Reference listOfObjectsToPrint, @Parameter("with properties") Map<String,Reference> optionalPropertiesToBeIncludedWithThePrintCommandSentToTheApplicationThatPrintsTheDirectObject)
listOfObjectsToPrint
- list of objects to printoptionalPropertiesToBeIncludedWithThePrintCommandSentToTheApplicationThatPrintsTheDirectObject
- optional properties to be included with the print command sent to the application that prints the direct object@Kind("command") @Name("activate") void activate(Reference theWindowToActivateIfNotSpecifiedActivatesTheFinder)
theWindowToActivateIfNotSpecifiedActivatesTheFinder
- the window to activate (if not specified, activates the Finder)@Kind("command") @Name("close") void close(Reference theObjectToClose)
theObjectToClose
- the object to close@Kind("command") @Name("count") int count(Reference theObjectWhoseElementsAreToBeCounted, @Parameter("each") TypeClass theClassOfTheElementsToBeCounted)
theObjectWhoseElementsAreToBeCounted
- the object whose elements are to be countedtheClassOfTheElementsToBeCounted
- the class of the elements to be counted@Kind("command") @Name("data size") int dataSize(Reference theObjectWhoseDataSizeIsToBeReturned, @Parameter("as") TypeClass theDataTypeForWhichTheSizeIsCalculated)
theObjectWhoseDataSizeIsToBeReturned
- the object whose data size is to be returnedtheDataTypeForWhichTheSizeIsCalculated
- the data type for which the size is calculated@Kind("command") @Name("delete") Reference delete(Reference theItemToDelete)
theItemToDelete
- the item to delete@Kind("command") @Name("duplicate") Reference duplicate(Reference theObjectSToDuplicate, @Parameter("to") Reference theNewLocationForTheObjectS, @Parameter("replacing") boolean specifiesWhetherOrNotToReplaceItemsInTheDestinationThatHaveTheSameNameAsItemsBeingDuplicated, @Parameter("routing suppressed") boolean specifiesWhetherOrNotToAutorouteItemsDefaultIsFalseOnlyAppliesWhenCopyingToTheSystemFolder, @Parameter("exact copy") boolean specifiesWhetherOrNotToCopyPermissionsOwnershipAsIs)
theObjectSToDuplicate
- the object(s) to duplicatetheNewLocationForTheObjectS
- the new location for the object(s)specifiesWhetherOrNotToReplaceItemsInTheDestinationThatHaveTheSameNameAsItemsBeingDuplicated
- Specifies whether or not to replace items in the destination that have the same name as items being duplicatedspecifiesWhetherOrNotToAutorouteItemsDefaultIsFalseOnlyAppliesWhenCopyingToTheSystemFolder
- Specifies whether or not to autoroute items (default is false). Only applies when copying to the system folder.specifiesWhetherOrNotToCopyPermissionsOwnershipAsIs
- Specifies whether or not to copy permissions/ownership as is@Kind("command") @Name("exists") boolean exists(Reference theObjectInQuestion)
theObjectInQuestion
- the object in question@Kind("command") @Name("make") Reference make(@Parameter("new") TypeClass theClassOfTheNewElement, @Parameter("at") Reference theLocationAtWhichToInsertTheElement, @Parameter("to") Reference whenCreatingAnAliasFileTheOriginalItemToCreateAnAliasToOrWhenCreatingAFileViewerWindowTheTargetOfTheWindow, @Parameter("with properties") Map<String,Reference> theInitialValuesForThePropertiesOfTheElement)
theClassOfTheNewElement
- the class of the new elementtheLocationAtWhichToInsertTheElement
- the location at which to insert the elementwhenCreatingAnAliasFileTheOriginalItemToCreateAnAliasToOrWhenCreatingAFileViewerWindowTheTargetOfTheWindow
- when creating an alias file, the original item to create an alias to or when creating a file viewer window, the target of the windowtheInitialValuesForThePropertiesOfTheElement
- the initial values for the properties of the element@Kind("make") <T extends Reference> T make(Class<T> klass)
klass
- Java type of the object to create.@Kind("command") @Name("move") Reference move(Reference theObjectSToMove, @Parameter("to") Reference theNewLocationForTheObjectS, @Parameter("replacing") boolean specifiesWhetherOrNotToReplaceItemsInTheDestinationThatHaveTheSameNameAsItemsBeingMoved, @Parameter("positioned at") List givesAListInLocalWindowCoordinatesOfPositionsForTheDestinationItems, @Parameter("routing suppressed") boolean specifiesWhetherOrNotToAutorouteItemsDefaultIsFalseOnlyAppliesWhenMovingToTheSystemFolder)
theObjectSToMove
- the object(s) to movetheNewLocationForTheObjectS
- the new location for the object(s)specifiesWhetherOrNotToReplaceItemsInTheDestinationThatHaveTheSameNameAsItemsBeingMoved
- Specifies whether or not to replace items in the destination that have the same name as items being movedgivesAListInLocalWindowCoordinatesOfPositionsForTheDestinationItems
- Gives a list (in local window coordinates) of positions for the destination itemsspecifiesWhetherOrNotToAutorouteItemsDefaultIsFalseOnlyAppliesWhenMovingToTheSystemFolder
- Specifies whether or not to autoroute items (default is false). Only applies when moving to the system folder.@Kind("command") @Name("select") void select(Reference theObjectToSelect)
theObjectToSelect
- the object to select@Kind("command") @Name("openVirtualLocation") void openvirtuallocation(String theLocationToOpen)
theLocationToOpen
- the location to open@Kind("command") @Name("copy") void copy()
@Kind("command") @Name("sort") Reference sort(Reference aListOfFinderObjectsToSort, @Parameter("by") Property thePropertyToSortTheItemsByNameIndexDateEtc)
aListOfFinderObjectsToSort
- a list of finder objects to sortthePropertyToSortTheItemsByNameIndexDateEtc
- the property to sort the items by (name, index, date, etc.)@Kind("command") @Name("clean up") void cleanUp(Reference theWindowToCleanUp, @Parameter("by") Property theOrderInWhichToCleanUpTheObjectsNameIndexDateEtc)
theWindowToCleanUp
- the window to clean uptheOrderInWhichToCleanUpTheObjectsNameIndexDateEtc
- the order in which to clean up the objects (name, index, date, etc.)@Kind("command") @Name("eject") void eject(Reference theDiskSToEject)
theDiskSToEject
- the disk(s) to eject@Kind("command") @Name("empty") void empty(Reference EmptyAndEmptyTrashBothDoTheSameThing, @Parameter("security") boolean Obsolete)
EmptyAndEmptyTrashBothDoTheSameThing
- “empty” and “empty trash” both do the same thingObsolete
- (obsolete)@Kind("command") @Name("erase") void erase(Reference theItemsToErase)
theItemsToErase
- the items to erase@Kind("command") @Name("reveal") void reveal(Reference theObjectToBeMadeVisible)
theObjectToBeMadeVisible
- the object to be made visible@Kind("command") @Name("update") void update(Reference theItemToUpdate, @Parameter("necessity") boolean onlyUpdateIfNecessaryIEAFinderWindowIsOpenDefaultIsFalse, @Parameter("registering applications") boolean registerApplicationsDefaultIsTrue)
theItemToUpdate
- the item to updateonlyUpdateIfNecessaryIEAFinderWindowIsOpenDefaultIsFalse
- only update if necessary (i.e. a finder window is open). default is falseregisterApplicationsDefaultIsTrue
- register applications. default is true@Kind("element") @Type("item") Item[] getItems(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Item
s@Kind("element") @Type("item") Item getItem(int index)
index
- index into the element list (zero-based)Item
at the requested index@Kind("element") @Type("item") Item getItem(Id id)
id
- id of the itemItem
with the requested id@Kind("element") @Type("item") int countItems(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("container") default Container[] getContainers()
Container
s@Kind("element") @Type("container") Container[] getContainers(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Container
s@Kind("element") @Type("container") Container getContainer(int index)
index
- index into the element list (zero-based)Container
at the requested index@Kind("element") @Type("container") Container getContainer(Id id)
id
- id of the itemContainer
with the requested id@Kind("element") @Type("container") default int countContainers()
Container
s@Kind("element") @Type("container") int countContainers(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("disk") Disk[] getDisks(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Disk
s@Kind("element") @Type("disk") Disk getDisk(int index)
index
- index into the element list (zero-based)Disk
at the requested index@Kind("element") @Type("disk") Disk getDisk(Id id)
id
- id of the itemDisk
with the requested id@Kind("element") @Type("disk") int countDisks(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("folder") default Folder[] getFolders()
Folder
s@Kind("element") @Type("folder") Folder[] getFolders(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Folder
s@Kind("element") @Type("folder") Folder getFolder(int index)
index
- index into the element list (zero-based)Folder
at the requested index@Kind("element") @Type("folder") Folder getFolder(Id id)
id
- id of the itemFolder
with the requested id@Kind("element") @Type("folder") default int countFolders()
Folder
s@Kind("element") @Type("folder") int countFolders(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("file") File[] getFiles(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"File
s@Kind("element") @Type("file") File getFile(int index)
index
- index into the element list (zero-based)File
at the requested index@Kind("element") @Type("file") File getFile(Id id)
id
- id of the itemFile
with the requested id@Kind("element") @Type("file") int countFiles(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("alias file") default AliasFile[] getAliasFiles()
AliasFile
s@Kind("element") @Type("alias file") AliasFile[] getAliasFiles(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"AliasFile
s@Kind("element") @Type("alias file") AliasFile getAliasFile(int index)
index
- index into the element list (zero-based)AliasFile
at the requested index@Kind("element") @Type("alias file") AliasFile getAliasFile(Id id)
id
- id of the itemAliasFile
with the requested id@Kind("element") @Type("alias file") default int countAliasFiles()
AliasFile
s@Kind("element") @Type("alias file") int countAliasFiles(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("application file") default ApplicationFile[] getApplicationFiles()
ApplicationFile
s@Kind("element") @Type("application file") ApplicationFile[] getApplicationFiles(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"ApplicationFile
s@Kind("element") @Type("application file") ApplicationFile getApplicationFile(int index)
index
- index into the element list (zero-based)ApplicationFile
at the requested index@Kind("element") @Type("application file") ApplicationFile getApplicationFile(Id id)
id
- id of the itemApplicationFile
with the requested id@Kind("element") @Type("application file") default int countApplicationFiles()
ApplicationFile
s@Kind("element") @Type("application file") int countApplicationFiles(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("document file") default DocumentFile[] getDocumentFiles()
DocumentFile
s@Kind("element") @Type("document file") DocumentFile[] getDocumentFiles(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"DocumentFile
s@Kind("element") @Type("document file") DocumentFile getDocumentFile(int index)
index
- index into the element list (zero-based)DocumentFile
at the requested index@Kind("element") @Type("document file") DocumentFile getDocumentFile(Id id)
id
- id of the itemDocumentFile
with the requested id@Kind("element") @Type("document file") default int countDocumentFiles()
DocumentFile
s@Kind("element") @Type("document file") int countDocumentFiles(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("internet location file") default InternetLocationFile[] getInternetLocationFiles()
InternetLocationFile
s@Kind("element") @Type("internet location file") InternetLocationFile[] getInternetLocationFiles(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"InternetLocationFile
s@Kind("element") @Type("internet location file") InternetLocationFile getInternetLocationFile(int index)
index
- index into the element list (zero-based)InternetLocationFile
at the requested index@Kind("element") @Type("internet location file") InternetLocationFile getInternetLocationFile(Id id)
id
- id of the itemInternetLocationFile
with the requested id@Kind("element") @Type("internet location file") default int countInternetLocationFiles()
InternetLocationFile
s@Kind("element") @Type("internet location file") int countInternetLocationFiles(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("clipping") default Clipping[] getClippings()
Clipping
s@Kind("element") @Type("clipping") Clipping[] getClippings(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Clipping
s@Kind("element") @Type("clipping") Clipping getClipping(int index)
index
- index into the element list (zero-based)Clipping
at the requested index@Kind("element") @Type("clipping") Clipping getClipping(Id id)
id
- id of the itemClipping
with the requested id@Kind("element") @Type("clipping") default int countClippings()
Clipping
s@Kind("element") @Type("clipping") int countClippings(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("package") default Package[] getPackages()
Package
s@Kind("element") @Type("package") Package[] getPackages(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Package
s@Kind("element") @Type("package") Package getPackage(int index)
index
- index into the element list (zero-based)Package
at the requested index@Kind("element") @Type("package") Package getPackage(Id id)
id
- id of the itemPackage
with the requested id@Kind("element") @Type("package") default int countPackages()
Package
s@Kind("element") @Type("package") int countPackages(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("window") default Window[] getWindows()
Window
s@Kind("element") @Type("window") Window[] getWindows(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"Window
s@Kind("element") @Type("window") Window getWindow(int index)
index
- index into the element list (zero-based)Window
at the requested index@Kind("element") @Type("window") Window getWindow(Id id)
id
- id of the itemWindow
with the requested id@Kind("element") @Type("window") default int countWindows()
Window
s@Kind("element") @Type("window") int countWindows(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("Finder window") default FinderWindow[] getFinderWindows()
FinderWindow
s@Kind("element") @Type("Finder window") FinderWindow[] getFinderWindows(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"FinderWindow
s@Kind("element") @Type("Finder window") FinderWindow getFinderWindow(int index)
index
- index into the element list (zero-based)FinderWindow
at the requested index@Kind("element") @Type("Finder window") FinderWindow getFinderWindow(Id id)
id
- id of the itemFinderWindow
with the requested id@Kind("element") @Type("Finder window") default int countFinderWindows()
FinderWindow
s@Kind("element") @Type("Finder window") int countFinderWindows(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Kind("element") @Type("clipping window") default ClippingWindow[] getClippingWindows()
ClippingWindow
s@Kind("element") @Type("clipping window") ClippingWindow[] getClippingWindows(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"ClippingWindow
s@Kind("element") @Type("clipping window") ClippingWindow getClippingWindow(int index)
index
- index into the element list (zero-based)ClippingWindow
at the requested index@Kind("element") @Type("clipping window") ClippingWindow getClippingWindow(Id id)
id
- id of the itemClippingWindow
with the requested id@Kind("element") @Type("clipping window") default int countClippingWindows()
ClippingWindow
s@Kind("element") @Type("clipping window") int countClippingWindows(String filter)
filter
- AppleScript filter clause without the leading "whose" or "where"@Code("pcli") @Kind("property") @Name("clipboard") @Type("specifier") Reference getClipboard()
@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("sele") @Kind("property") @Name("selection") @Type("specifier") Reference getSelection()
@Code("sele") @Kind("property") @Name("selection") @Type("specifier") void setSelection(Reference selection)
selection
- new property value@Code("pins") @Kind("property") @Name("insertion location") @Type("specifier") Reference getInsertionLocation()
@Code("ver2") @Kind("property") @Name("product version") @Type("text") String getProductVersion()
@Code("vers") @Kind("property") @Name("version") @Type("text") String getVersion()
@Code("sdsk") @Kind("property") @Name("startup disk") @Type("disk") Disk getStartupDisk()
@Code("desk") @Kind("property") @Name("desktop") @Type("desktop-object") DesktopObject getDesktop()
@Code("trsh") @Kind("property") @Name("trash") @Type("trash-object") TrashObject getTrash()
@Code("home") @Kind("property") @Name("home") @Type("folder") Folder getHome()
@Code("pcmp") @Kind("property") @Name("computer container") @Type("computer-object") ComputerObject getComputerContainer()
@Code("pfrp") @Kind("property") @Name("Finder preferences") @Type("preferences") Preferences getFinderPreferences()
@Code("dpic") @Kind("property") @Name("desktop picture") @Type("file") File getDesktopPicture()
@Code("dpic") @Kind("property") @Name("desktop picture") @Type("file") void setDesktopPicture(File desktopPicture)
desktopPicture
- new property valueMap<String,Object> getProperties()
static Application getInstance()